OFFSET
1,2
LINKS
Jud McCranie, Table of n, a(n) for n = 1..5000
S. P. Hurd and J. S. McCranie, Integers that are Sums of Uniform Powers of all their Prime Factors: the sequence A068916, J. of Int. Seq., vol 22 (2019), article 19.3.4.
EXAMPLE
2^7-7=121, so 121 is in the sequence.
MATHEMATICA
With[{nn = 265}, Union@ Flatten@ Table[p^k - k, {p, Prime@ Range@ PrimePi@ nn}, {k, Log[p, nn]}]] (* Michael De Vlieger, Jul 16 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jud McCranie, Aug 29 2018
STATUS
approved