[go: up one dir, main page]

login
A324885
a(1) = 0; for n > 1, a(n) = A001511(A323243(n)).
3
0, 1, 1, 3, 1, 2, 1, 4, 3, 1, 1, 3, 1, 2, 2, 4, 1, 2, 1, 3, 1, 5, 1, 4, 3, 3, 4, 5, 1, 6, 1, 6, 2, 5, 2, 4, 1, 2, 5, 4, 1, 2, 1, 3, 3, 6, 1, 5, 3, 1, 3, 3, 1, 2, 1, 4, 5, 2, 1, 3, 1, 5, 3, 4, 2, 6, 1, 5, 2, 2, 1, 4, 1, 3, 2, 5, 2, 6, 1, 5, 4, 5, 1, 3, 5, 4, 6, 5, 1, 2, 1, 6, 2, 5, 3, 4, 1, 1, 5, 4, 1, 2, 1, 4, 6
OFFSET
1,4
FORMULA
a(1) = 0; for n > 1, a(n) = A001511(A323243(n)).
For n > 1, a(n) = A286357(A156552(n)).
PROG
(PARI)
A001511ext(n) = if(!n, n, sign(n)*(1+valuation(n, 2))); \\ Like A001511 but gives 0 for 0 and -A001511(-n) for negative numbers.
A324885(n) = A001511ext(A323243(n)); \\ Needs also code from A323243.
CROSSREFS
Cf. A001511, A156552, A286357, A323243, A324725, A324813 (positions of terms <= 1), A324817, A324823, A324883.
Sequence in context: A257904 A257980 A203531 * A046645 A284639 A320887
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 28 2019
STATUS
approved