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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A080694 Let u(1)=u(2)=1 and u(k)=abs(u(k-1)-u(k-2)-n); sequence gives length of period of u(k). 1
1, 18, 4, 18, 18, 48, 28, 54, 8, 72, 26, 36, 42, 36, 36, 24, 24, 48, 10, 162, 52, 84, 114, 192, 24, 246, 88, 30, 30, 48, 168, 138, 32, 126, 98, 312, 126, 222, 100, 228, 16, 384, 80, 258, 120, 192, 26, 360, 20, 300, 16, 360, 178, 180, 430, 390, 32, 162, 170, 192, 42, 306 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

u(k) is periodic for any n - see Reble link.

LINKS

Don Reble, On the wholeness of Sloane's A080694

EXAMPLE

When n=3, {u(k)} sequence is 1, 1, 3, 1, 5, 1, 7, 3, 7, 1, 9, 5, 7, 1, 9, 5, 7, 1, 9, 5, 7, 1, ... with period (7, 1, 9, 5) of length 4, hence a(3)=4. If n=7 the period of u(k) is (19, 7, 19, 5, 21, 9, 19, 3, 23, 13, 17, 3, 21, 11, 17, 1, 23, 15, 15, 7, 15, 1, 21, 13, 15, 5, 17, 5) of length 28.

CROSSREFS

Sequence in context: A014974 A008575 A059654 * A040314 A160486 A040312

Adjacent sequences:  A080691 A080692 A080693 * A080695 A080696 A080697

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Mar 03 2003

EXTENSIONS

Corrected and extended by Vladeta Jovovic (vladeta(AT)eunet.rs), Mar 07 2003

More terms from Don Reble (djr(AT)nk.ca), Mar 08 2003

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 07:41 EST 2012. Contains 205998 sequences.