login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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; text; internal format)
OFFSET

1,2

COMMENTS

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

LINKS

Table of n, a(n) for n=1..62.

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, Mar 03 2003

EXTENSIONS

Corrected and extended by Vladeta Jovovic, Mar 07 2003

More terms from Don Reble, Mar 08 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 22 18:45 EDT 2021. Contains 348175 sequences. (Running on oeis4.)