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

A318455
The 2-adic valuation of A318454(n).
4
0, 1, 0, 3, 0, 1, 0, 4, 0, 1, 0, 3, 0, 1, 0, 7, 0, 1, 0, 3, 0, 1, 0, 4, 0, 1, 0, 3, 0, 1, 0, 8, 0, 1, 0, 3, 0, 1, 0, 4, 0, 1, 0, 3, 0, 1, 0, 7, 0, 1, 0, 3, 0, 1, 0, 4, 0, 1, 0, 3, 0, 1, 0, 10, 0, 1, 0, 3, 0, 1, 0, 4, 0, 1, 0, 3, 0, 1, 0, 7, 0, 1, 0, 3, 0, 1, 0, 4, 0, 1, 0, 3, 0, 1, 0, 8, 0, 1, 0, 3, 0, 1, 0, 4, 0
OFFSET
1,4
LINKS
FORMULA
a(n) = A007814(A318454(n)).
MATHEMATICA
f[1] = 1; f[n_] := f[n] = 1/2 (Sum[Mod[d, 2], {d, Divisors[n]}] - Sum[f[d] f[n/d], {d, Divisors[n][[2 ;; -2]]}]);
a[n_] := IntegerExponent[Denominator[f[n]], 2];
Array[a, 105] (* Jean-François Alcover, Sep 13 2018 *)
PROG
(PARI) A318455(n) = valuation(A318454(n), 2); \\ Needs also program from A318454.
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved