login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A160016
Lodumo_2 transform of A159833.
7
0, 2, 1, 4, 6, 8, 3, 10, 12, 14, 5, 16, 18, 20, 7, 22, 24, 26, 9, 28, 30, 32, 11, 34, 36, 38, 13, 40, 42, 44, 15, 46, 48, 50, 17, 52, 54, 56, 19, 58, 60, 62, 21, 64, 66, 68, 23, 70, 72, 74, 25, 76, 78, 80, 27, 82, 84, 86, 29, 88, 90, 92, 31, 94, 96, 98, 33, 100, 102, 104, 35, 106
OFFSET
0,2
COMMENTS
Permutation of nonnegative integers.
FORMULA
a(n) = lod_2(A159833(n)).
G.f.: x*(2*x^6+x^5+4*x^4+6*x^3+4*x^2+x+2) / (x^8-2*x^4+1).
a(n) = a(n-4) + (period 4: repeat [6, 6, 2, 6]) for n >= 4. - Georg Fischer, Feb 15 2019
MATHEMATICA
LinearRecurrence[{0, 0, 0, 2, 0, 0, 0, -1}, {0, 2, 1, 4, 6, 8, 3, 10}, 100] (* Georg Fischer, Feb 15 2019 *)
CROSSREFS
Cf. A159833.
Sequence in context: A026190 A378342 A262599 * A245089 A335919 A296340
KEYWORD
easy,nonn
AUTHOR
Philippe Deléham, Apr 29 2009
EXTENSIONS
Edited by Georg Fischer, Feb 15 2019
STATUS
approved