login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A123716 A329717 A229927 * A367870 A223540 A364138
KEYWORD
nonn
AUTHOR
Eric Angelini and M. F. Hasler, Mar 23 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 09:59 EDT 2024. Contains 371268 sequences. (Running on oeis4.)