Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #8 Dec 23 2024 14:53:43
%S 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,
%T 50,27,28,56,30,31,62,33,34,68,36,37,74,39,40,80,42,43,86,45,46,92,48,
%U 49,98,51,52,104,54,55,110,57,58,116,60,61,122,63,64,128,66,67,134,69,70,140
%N Lexicographically earliest injective sequence of nonnegative integers such that the sum of 6 consecutive terms is always divisible by 6.
%H E. Angelini, <a href="https://web.archive.org/web/*/http://list.seqfan.eu/oldermail/seqfan/2013-March/010956.html">k-chunks sum and division by k</a>, post to the SeqFan list, Mar 22 2013
%F a(n) = 2 a(n-3) - a(n-6).
%F G.f.: x*(1 + 2*x + 3*x^2 + 2*x^3 + 4*x^4)/((1-x)*(1+x+x^2))^2.
%Y Cf. A222257-A222261.
%K nonn
%O 0,3
%A _Eric Angelini_ and _M. F. Hasler_, Mar 23 2013