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!)
A079624 a(1)=a(2)=1, a(3)=6, a(n)=abs(a(n-1)-a(n-2)-a(n-3)). 6
1, 1, 6, 4, 3, 7, 0, 10, 3, 7, 6, 4, 9, 1, 12, 2, 11, 3, 10, 4, 9, 5, 8, 6, 7, 7, 6, 8, 5, 9, 4, 10, 3, 11, 2, 12, 1, 13, 0, 14, 1, 13, 2, 12, 3, 11, 4, 10, 5, 9, 6, 8, 7, 7, 8, 6, 9, 5, 10, 4, 11, 3, 12, 2, 13, 1, 14, 0, 15, 1, 14, 2, 13, 3, 12, 4, 11, 5, 10, 6, 9, 7, 8, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

FORMULA

for n>=5 a(n^2+24*n-13)=0; for n>= 38 Max( a(k) : 1<=k<=n) = floor(sqrt(n+156))

PROG

(Haskell)

a079624 n = a079624_list !! (n-1)

a079624_list = 1 : 1 : 6 : zipWith3 (\u v w -> abs (w - v - u))

               a079624_list (tail a079624_list) (drop 2 a079624_list)

-- Reinhard Zumkeller, Oct 11 2014

CROSSREFS

Cf. A078108, A080096.

Cf. A077623, A077653, A079623, A088226.

Sequence in context: A200104 A154747 A217515 * A035335 A011097 A195475

Adjacent sequences:  A079621 A079622 A079623 * A079625 A079626 A079627

KEYWORD

nonn

AUTHOR

Benoit Cloitre, Jan 30 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 June 5 16:19 EDT 2020. Contains 334852 sequences. (Running on oeis4.)