login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

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

Table of n, a(n) for n=0..71.

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

Cf. A222257-A222261.

Sequence in context: A123494 A123716 A229927 * A223540 A300868 A176077

Adjacent sequences:  A222253 A222254 A222255 * A222257 A222258 A222259

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 10 20:55 EST 2018. Contains 318049 sequences. (Running on oeis4.)