login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A128538
Number of prime factors (with multiplicity) of lucky numbers.
2
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,4
COMMENTS
a(n) = 0 iff n = 1. a(n) = 1 iff n-th lucky number is prime iff A000959(n) is in A031157 Numbers that are both lucky and prime. a(n) > 1 iff n-th lucky number is composite iff A000959(n) is in A031879 Composite lucky numbers [technically, A031879 should not begin with 1]. a(n) = 2 iff n-th lucky number is semiprime iff A000959(n) is in A001358. a(n) = 3 iff n-th lucky number has 3 prime factors (with multiplicity) iff A000959(n) is in A014612.
LINKS
FORMULA
a(n) = A001222(A000959(n)).
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, May 07 2007
EXTENSIONS
More terms from R. J. Mathar, Oct 22 2010
STATUS
approved