A023588 a(n) = sum of exponents in prime-power factorization of 2*prime(n)-1.
1, 1, 2, 1, 2, 2, 2, 1, 3, 2, 1, 1, 4, 2, 2, 3, 3, 2, 2, 2, 2, 1, 3, 2, 1, 2, 2, 2, 2, 4, 2, 3, 3, 1, 4, 2, 1, 3, 3, 3, 3, 2, 2, 3, 2, 1, 1, 2, 2, 1, 3, 3, 2, 2, 4, 4, 2, 1, 2, 3, 2, 4, 1, 4, 4, 2, 1, 1, 4, 2, 3, 2, 1, 2, 1, 4, 3, 2, 3, 2, 4, 2, 3, 2, 1, 3, 3, 2, 2, 3, 2, 3, 2, 3, 1, 3, 3, 2, 3
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Array[Plus@@Last/@FactorInteger[2*Prime[ # ]-1]&,6! ] (* Vladimir Joseph Stephan Orlovsky, Feb 28 2010 *) Table[Total[FactorInteger[2p-1][[;;,2]]],{p,Prime[Range[100]]}] (* Harvey P. Dale, May 30 2024 *)
Comments