OFFSET
1,3
COMMENTS
The length of row n in A001269.
LINKS
S. S. Wagstaff, Jr., The Cunningham Project
FORMULA
EXAMPLE
a(3) = 2 because 2^3 + 1 = 9 = 3*3.
MATHEMATICA
a[q_] := Module[{x, n}, x=FactorInteger[2^n+1]; n=Length[x]; Sum[Table[x[i]][2]], {i, n}][j]], {j, n}]]
A054992[n_Integer] := PrimeOmega[2^n + 1]; Table[A054992[n], {n, 200}] (* Vladimir Joseph Stephan Orlovsky, Jul 22 2011 *)
PROG
(PARI) a(n)=bigomega(2^n+1) \\ Charles R Greathouse IV, Apr 29 2015
CROSSREFS
bigomega(b^n+1): A057934 (b=10), A057935 (b=9), A057936 (b=8), A057937 (b=7), A057938 (b=6), A057939 (b=5), A057940 (b=4), A057941 (b=3), this sequence (b=2).
Cf. A000051, A002586, A002587, A003260, A001222, A001269, A001348, A054988, A054989, A054990, A054991, A000978.
Cf. A046051 (number of prime factors of 2^n-1).
Cf. A086257 (number of primitive prime factors).
KEYWORD
nonn
AUTHOR
Arne Ring (arne.ring(AT)epost.de), May 30 2000
EXTENSIONS
Extended by Patrick De Geest, Oct 01 2000
Terms to a(500) in b-file from T. D. Noe, Nov 10 2007
Deleted duplicate (and broken) Wagstaff link. - N. J. A. Sloane, Jan 18 2019
a(500)-a(1062) in b-file from Amiram Eldar, Oct 04 2019
a(1063)-a(1122) in b-file from Max Alekseyev, Jul 15 2023
STATUS
approved