login
A082391
Start with the sequence a(1 to 4) = "1,3,2,3". Then in step s, append "1", "1,2", or "1,2,3", whichever ends with a(s+2).
0
1, 3, 2, 3, 1, 2, 1, 2, 3, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1
OFFSET
1,2
COMMENTS
a(n)=3 just if n=(k^3+3*k^2-4*k+12)/6.
CROSSREFS
Sequence in context: A341847 A200223 A236228 * A283977 A248579 A296992
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Apr 14 2003
EXTENSIONS
Edited by Don Reble, Nov 02 2005
STATUS
approved