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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A097857 a(0) = 1, a(1) = 1, a(n) = floor((a(n-1)+a(n-2))/2) + 3 if a(n-2) is even, a(n) = floor((a(n-1)-a(n-2))/2) + 3 if a(n-2) is odd. 0
1, 1, 3, 4, 3, 6, 4, 8, 9, 11, 4, 1, 4, 5, 7, 4, 1, 5, 5, 3, 2, 2, 5, 6, 3, 7, 5, 2, 1, 4, 4, 7, 8, 3, 8, 5, 9, 5, 1, 1, 3, 4, 3, 6, 4, 8, 9, 11, 4, 1, 4, 5, 7, 4, 1, 5, 5, 3, 2, 2, 5, 6, 3, 7, 5, 2, 1, 4, 4, 7, 8, 3, 8, 5, 9, 5, 1, 1, 3, 4, 3, 6, 4, 8, 9, 11, 4, 1, 4, 5, 7, 4, 1, 5, 5, 3, 2, 2, 5, 6, 3, 7, 5, 2, 1, 4, 4, 7, 8, 3, 8, 5, 9, 5 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

The series is periodic with period 38.

CROSSREFS

Sequence in context: A021295 A061112 A078809 * A176058 A110738 A175028

Adjacent sequences:  A097854 A097855 A097856 * A097858 A097859 A097860

KEYWORD

nonn,easy

AUTHOR

Gerald McGarvey (Gerald.McGarvey(AT)comcast.net), Aug 31 2004

EXTENSIONS

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Nov 17 2004

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 14 23:53 EST 2012. Contains 205689 sequences.