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