login
A222256
Lexicographically earliest injective sequence of nonnegative integers such that the sum of 6 consecutive terms is always divisible by 6.
5
0, 1, 2, 3, 4, 8, 6, 7, 14, 9, 10, 20, 12, 13, 26, 15, 16, 32, 18, 19, 38, 21, 22, 44, 24, 25, 50, 27, 28, 56, 30, 31, 62, 33, 34, 68, 36, 37, 74, 39, 40, 80, 42, 43, 86, 45, 46, 92, 48, 49, 98, 51, 52, 104, 54, 55, 110, 57, 58, 116, 60, 61, 122, 63, 64, 128, 66, 67, 134, 69, 70, 140
OFFSET
0,3
LINKS
E. Angelini, k-chunks sum and division by k, post to the SeqFan list, Mar 22 2013
FORMULA
a(n) = 2 a(n-3) - a(n-6).
G.f.: x*(1 + 2*x + 3*x^2 + 2*x^3 + 4*x^4)/((1-x)*(1+x+x^2))^2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric Angelini and M. F. Hasler, Mar 23 2013
STATUS
approved