login
A102383
a(n) = A001222(A004094(n)).
3
0, 1, 2, 3, 1, 1, 2, 1, 3, 2, 1, 2, 4, 2, 2, 3, 3, 1, 4, 4, 4, 4, 4, 3, 1, 4, 7, 5, 2, 2, 2, 4, 4, 3, 2, 2, 3, 1, 4, 5, 4, 6, 3, 4, 4, 1, 4, 2, 4, 4, 3, 3, 3, 4, 2, 1, 3, 3, 4, 7, 6, 4, 5, 4, 4, 2, 3, 5, 7, 3, 1, 9, 4, 3, 4, 6, 4, 1, 4, 4, 4, 5, 6, 4, 3, 2, 2, 3, 3, 5, 6, 3, 4, 4, 3, 4, 4, 4, 3, 12, 3, 6, 5, 3, 5
OFFSET
0,3
EXAMPLE
n = 26: reverse(2^26) = 46880176 = 2^4*7*641*653, so a(26) = 7.
n = 38: reverse(2^38) = 449609778472 = 2^3*56201222309, so a(38) = 4. - Sean A. Irvine, Sep 26 2023
MATHEMATICA
a[n_] := PrimeOmega[IntegerReverse[2^n]]; Array[a, 100, 0] (* Amiram Eldar, Oct 02 2024 *)
PROG
(PARI) a(n) = bigomega(fromdigits(Vecrev(digits(2^n)))); \\ Amiram Eldar, Oct 02 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jan 06 2005
EXTENSIONS
a(38) corrected by Sean A. Irvine, Sep 26 2023
STATUS
approved