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”).

A366263
Doudna sequence permuted by Blue code: a(n) = A005940(1+A193231(n)).
7
1, 2, 4, 3, 6, 5, 9, 8, 16, 27, 25, 18, 15, 12, 10, 7, 14, 11, 21, 20, 35, 30, 24, 45, 81, 32, 54, 125, 36, 75, 49, 50, 100, 147, 121, 98, 225, 72, 150, 245, 625, 162, 64, 243, 250, 343, 375, 108, 33, 28, 22, 13, 40, 63, 55, 42, 90, 175, 135, 48, 77, 70, 60, 105, 210, 385, 315, 120, 143, 154, 140, 231, 525, 180
OFFSET
0,2
FORMULA
a(n) = A332450(A005940(1+n)).
For all n >= 0, A001222(a(n)) = A234022(n) and A046523(a(n)) = A286601(n).
For all n >= 1, A055396(a(n)) = A277818(n) = 1+A268389(n).
PROG
(PARI)
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t };
A193231(n) = { my(x='x); subst(lift(Mod(1, 2)*subst(Pol(binary(n), x), x, 1+x)), x, 2) };
A366263(n) = A005940(1+A193231(n));
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Antti Karttunen, Oct 06 2023
STATUS
approved