[go: up one dir, main page]

login
A023581
Sum of exponents in prime-power factorization of p(n)+3.
1
1, 2, 3, 2, 2, 4, 3, 2, 2, 5, 2, 4, 3, 2, 3, 4, 2, 6, 3, 2, 3, 2, 2, 3, 4, 4, 2, 3, 5, 3, 3, 2, 4, 2, 4, 3, 6, 2, 3, 5, 3, 4, 2, 4, 5, 2, 2, 2, 3, 4, 3, 3, 3, 2, 4, 3, 5, 2, 5, 3, 3, 4, 3, 2, 3, 7, 2, 4, 4, 6, 3, 2, 3, 4, 2, 2, 5, 6, 3, 3, 2, 4, 3, 3, 3, 2, 3, 4, 5, 2, 3, 2, 4, 3, 2, 3, 9, 3, 2
OFFSET
1,2
LINKS
FORMULA
a(n) = A001222(A113935(n)). - Michel Marcus, Sep 30 2013
MATHEMATICA
Table[PrimeOmega[3 + Prime[n]], {n, 1, 100}] (* G. C. Greubel, May 21 2019 *)
PROG
(PARI) a(n) = bigomega(prime(n) + 3); \\ Michel Marcus, Sep 30 2013
(Magma) [n eq 1 select 1 else (&+[p[2]: p in Factorization(NthPrime(n) + 3)]): n in [1..100]]; // G. C. Greubel, May 21 2019
(Sage) [sloane.A001222(nth_prime(n)+3) for n in (1..100)] # G. C. Greubel, May 21 2019
CROSSREFS
Sequence in context: A368039 A160558 A241019 * A023574 A210941 A193827
KEYWORD
nonn
STATUS
approved