login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137607 a(0)=361, a(n+1)=a(n)/2 if a(n) is even, else a(n+1)=a(0)-(a(n)+1)/2. 3
361, 180, 90, 45, 338, 169, 276, 138, 69, 326, 163, 279, 221, 250, 125, 298, 149, 286, 143, 289, 216, 108, 54, 27, 347, 187, 267, 227, 247, 237, 242, 121, 300, 150, 75, 323, 199, 261, 230, 115, 303, 209, 256, 128, 64, 32, 16, 8, 4, 2, 1, 360, 180, 90, 45, 338, 169, 276, 138, 69, 326, 163, 279, 221, 250, 125, 298, 149, 286, 143, 289, 216, 108, 54, 27, 347, 187, 267, 227, 247, 237, 242, 121, 300, 150, 75, 323, 199, 261, 230, 115, 303, 209, 256, 128, 64, 32, 16, 8, 4, 2, 1, 360 (list; graph; refs; listen; history; internal format)
OFFSET

0,1

COMMENTS

For n>=1, periodic with period 51. - Vladeta Jovovic (vladeta(AT)eunet.yu), 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.

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

Cf. A096259.

Sequence in context: A156032 A003799 A003930 * A183997 A176899 A112078

Adjacent sequences:  A137604 A137605 A137606 * A137608 A137609 A137610

KEYWORD

nonn,less

AUTHOR

Yasutoshi Kohmoto zbi74583(AT)boat.zero.ad.jp, Apr 23 2008

EXTENSIONS

Clarified & extended by Vladeta Jovovic (vladeta(AT)eunet.yu) and M. F. Hasler (Maximilian.Hasler(AT)gmail.com), 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 (njas(AT)research.att.com), May 17 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 10:57 EST 2012. Contains 206009 sequences.