OFFSET
1,2
COMMENTS
Also, ordered distinct values taken by terms of A343300.
Primes form the subsequence corresponding to k = 1.
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
EXAMPLE
0 is a term because it is the empty sum.
11 is a term because 11 = 11^1 is prime and also 11 = 2^1 + 3^2.
52 is a term because 3^1 + 7^2 = 52.
1382 is a term because 2^1 + 7^2 + 11^3 = 13^1 +37^2 = 1382.
PROG
(PARI) f(n) = my(fn=factor(n)); sum(k=1, #fn~, fn[k, 1]^k); \\ A343300
lista(nn) = my(p=precprime(nn)); select(x->(x <=p), Set(vector(p, k, f(k)))); \\ Michel Marcus, May 08 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Bernard Schott, May 07 2021
STATUS
approved