OFFSET
1,1
COMMENTS
a(n) - a(n-1) is in {1,2,3,4,5,6,7} for n >= 1; also, 4n - a(n) is in {0,1,2,3} for n >= 1. The first 20 numbers 4n - a(n) are 1, 3, 0, 2, 0, 2, 1, 3, 2, 1, 3, 0, 3, 0, 2, 1, 2, 1, 3, 0, with
0 in positions given by A287570,
1 in positions given by A287567,
2 in positions given by A287568,
3 in positions given by A287569.
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..10000
MATHEMATICA
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, May 31 2017
STATUS
approved