OFFSET
1,6
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, PARI program for A290537
EXAMPLE
S(1) = 0 by definition; so a(1) = 0.
S(1)+1 = 1 has not yet occurred; so S(2) = 1 and a(2) = 0.
S(1)*(i+i) = 0 has already occurred.
S(2)+1 = 2 has not yet occurred; so S(3) = 2 and a(3) = 0.
S(2)*(1+i) = 1+i has not yet occured; so S(4) = 1+i and a(4) = 1.
S(3)+1 = 3 has not yet occurred; so S(5) = 3 and a(5) = 0.
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
sign,look
AUTHOR
Rémy Sigrist, Aug 05 2017
STATUS
approved