Permutation

Maximilian Hasler maximilian.hasler at gmail.com
Mon Apr 28 08:24:31 CEST 2008


>     I submitted A137607.

%N A137607 The rule is the following: b(0)=361. If b(n1) is divisible
by 2 then b(n) = b(n1)/2 If b(n1) isn't divisible by two then b(n) =
b(0)(b(n1)+1)/2. It is periodic.

What's n1? Did a "-" sign disappear?
Assuming n1 is n-1, I get other values (for b(n) - is a(n)=b(n)?).
361 -> 180 would indicate ...b(n) = (b(n-1)-1)/2.
But how did you get 45 -> 338 ?
I notice 338 = 26^2, but not 46^2 (?).
Why is the "It is periodic" part of the definition?
If it is a result: what is the period?

M.H.

? print1(t=361);for(i=1,9,print1(",",if( t%2, t=361*(t+1)/2, t/=2 )))
361,65341,11794231,2128858876,1064429438,532214719,96064756960,48032378480,...
? print1(t=361);for(i=1,9,print1(",",if(t%2,t=19*(t+1)/2,t/=2)))
361,3439,32680,16340,8170,4085,38817,368771,3503334,1751667
? print1(t=361);for(i=1,9,print1(",",if(t%2,t=19*(t-1)/2,t/=2)))
361,3420,1710,855,8113,77064,38532,19266,9633,91504
? print1(t=361);for(i=1,9,print1(",",if(t%2,t=(t-1)/2,t/=2)))
361,180,90,45,22,11,5,2,1,0





More information about the SeqFan mailing list