What I have is:
p(array)
array.each { |c| c=c*y**z-1 ; z=z+1 }
p(array)
The array is:
[35, 35, 35]
y
is 36, z
is a counter, c
is the value in the array.
Before the formula I get:
[35, 35, 35]
[formula happens]
After the formula:
[35, 35, 35]