OFFSET
1,1
COMMENTS
This sequence and A284795 and A284796 form a partition of the positive integers. For n>=1, we have 3n-a(n) in {0,1,2}, 3*n+2-A284795(n) in {0,1,2,3}, and 3*n-2-A284796(n) in {0,1}.
A284793 = (1,-1,0,1,0,-1,1,-1,1,-1,0,1,0,-1,0,1,0,-1,1,-1,0,1,0,-1, ... ); thus
A284794 = (2,6,8,10,14,...)
A284795 = (3,5,11,13,15,...)
A284796 = (1,4,7,9,12,15,...).
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 14 2017
STATUS
approved