login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A283669 a(n) = q(n-q(n+1)+2) - q(n-q(n)+2) where q(n) = A005185(n). 1
0, -1, -1, 0, -1, -1, 0, 0, 0, 0, -2, 0, 0, -1, 0, -1, -1, 0, 0, 0, 0, 0, -2, 2, 0, 0, 0, 0, 0, -1, 1, 0, -1, 1, 2, 0, -1, 0, -1, -1, 0, 0, 0, 0, 0, 0, -4, 3, -2, -4, 2, 2, -2, 0, 0, -2, 0, 0, 0, 0, 0, -1, 3, 4, -3, 1, -1, 0, 3, 4, 2, 1, -2, -1, 2, -2, 1, -1, 0, 1, 1, 0, -2, 1, -1, -1, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,11
LINKS
MATHEMATICA
q[1] = q[2] = 1; q[n_] := q[n] = q[n - q[n - 1]] + q[n - q[n - 2]]; a[n_]:= q[n - q[n + 1] + 2] - q[n - q[n] + 2] ; Table[a[n], {n, 90}] (* Indranil Ghosh, Mar 13 2017 *)
PROG
(PARI) a=vector(1001); a[1]=a[2]=1; for(n=3, #a, a[n]=a[n-a[n-1]]+a[n-a[n-2]]); va = vector(1000, n, a[n+2-a[n+1]]-a[n+2-a[n]])
CROSSREFS
Cf. A005185.
Sequence in context: A025463 A327686 A274472 * A220945 A089224 A344987
KEYWORD
sign
AUTHOR
Altug Alkan, Mar 13 2017
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)