OFFSET
1,2
COMMENTS
A semiprime is a product of any two prime numbers. A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
After the first three terms, there appear to be no adjacent equal terms.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
The semiprimes are:
2*2, 2*3, 3*3, 2*5, 2*7, 3*5, 3*7, 2*11, 5*5, 2*13, ...
so the greater prime factors are:
2, 3, 3, 5, 7, 5, 7, 11, 5, 13, ...
with indices:
1, 2, 2, 3, 4, 3, 4, 5, 3, 6, ...
MATHEMATICA
Table[Max[PrimePi/@First/@FactorInteger[n]], {n, Select[Range[100], PrimeOmega[#]==2&]}]
CROSSREFS
A115392 lists positions of first appearances of each positive integer.
A338898 has this as second column.
A338912 is the corresponding lesser prime index.
A001221 counts distinct prime indices.
A001222 counts prime indices.
KEYWORD
nonn
AUTHOR
Gus Wiseman, Nov 20 2020
STATUS
approved