A128538 Number of prime factors (with multiplicity) of lucky numbers.
0, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 1, 2, 2, 3, 1, 2, 1, 3, 1, 2, 2, 3, 3, 2, 2, 1, 2, 2, 4, 2, 1, 2, 1, 2, 3, 4, 1, 3, 2, 2, 1, 2, 1, 3, 2, 2, 1, 2, 3, 2, 3, 1, 3, 2, 4, 2, 1, 2, 2, 2, 1, 2, 1, 3, 2, 1, 3, 2, 2, 3, 1, 2, 1, 2, 3, 1, 2, 1, 3, 3, 3, 1, 2, 4, 2, 2, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 1, 3, 1, 4, 1, 3
Offset: 1
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Mathematica
L = Table[2*i + 1, {i, 0,400}]; For[n = 2, n < Length[L], r = L[[n++]]; L = ReplacePart[L, Table[r*i -> Nothing, {i, 1, Length[L]/r}]]];PrimeOmega/@L (* James C. McMahon, Jan 09 2025 *)
Extensions
More terms from R. J. Mathar, Oct 22 2010
Comments