OFFSET
0,1
COMMENTS
For n>=1, periodic with period 51. - Vladeta Jovovic, Apr 28 2008
The rule is the following: b(0)=361. If b(n-1) is divisible by 2 then b(n) = b(n-1)/2. If b(n-1) is not divisible by two then b(n) = b(0)-(b(n-1)+1)/2. It is periodic.
LINKS
Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
MATHEMATICA
NestList[If[Mod[#, 2]==0, #/2, 361-(#+1)/2]&, 361, 110] (* Harvey P. Dale, Mar 31 2024 *)
PROG
(PARI) A137607(n) = if( !n, 361, for( i=0, n%51, n=if( i, if( n%2, 360-n\2, n\2), 360)); n) \\ M. F. Hasler, Apr 28 2008
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Yasutoshi Kohmoto, Apr 23 2008
EXTENSIONS
Clarified & extended by Vladeta Jovovic and M. F. Hasler, Apr 28 2008
The initial term, 361, seems anomalous. This sequence violates the rule that entries in the OEIS should not depend on an arbitrary but large parameter. - N. J. A. Sloane, May 17 2008
STATUS
approved