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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A020943 a(2n+1) = |a(2n) - a(2n-1)|, a(2n) = a(n) + a(n-1). 6
0, 1, 1, 1, 0, 2, 2, 2, 0, 1, 1, 2, 1, 4, 3, 4, 1, 2, 1, 1, 0, 2, 2, 3, 1, 3, 2, 5, 3, 7, 4, 7, 3, 5, 2, 3, 1, 3, 2, 2, 0, 1, 1, 2, 1, 4, 3, 5, 2, 4, 2, 4, 2, 5, 3, 7, 4, 8, 4, 10, 6, 11, 5, 11, 6, 10, 4, 8, 4, 7, 3, 5, 2, 4, 2, 4, 2, 5, 3, 4, 1, 2, 1, 1, 0, 2, 2, 3, 1, 3, 2, 5, 3, 7, 4, 8, 4, 7, 3, 6, 3, 6, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,6

COMMENTS

Presumably, the positions n such that a(n)=0 are the terms of A097074. - Ivan Neretin, Jul 06 2015

LINKS

Ivan Neretin, Table of n, a(n) for n = 1..5461

MATHEMATICA

a = {0, 1, 1}; Do[AppendTo[a, a[[n]] + a[[n - 1]]]; AppendTo[a, Abs[a[[-1]] - a[[-2]]]], {n, 2, 51}]; a (* Ivan Neretin, Jul 06 2015 *)

CROSSREFS

Cf. A020947, A020948, A020949, A020950.

Sequence in context: A071446 A071469 A071471 * A300075 A056557 A302986

Adjacent sequences:  A020940 A020941 A020942 * A020944 A020945 A020946

KEYWORD

nonn,look

AUTHOR

Clark Kimberling

EXTENSIONS

More terms from Henry Bottomley, May 16 2001

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 13:38 EDT 2018. Contains 316361 sequences. (Running on oeis4.)