OFFSET
1,1
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..100
Dario Alejandro Alpern, Factorization using the Elliptic Curve Method
MATHEMATICA
PrimeFactorExponentsAdded[n_] := Plus @@ Flatten[ Table[ # [[2]], {1}] & /@ FactorInteger[n]]; f[n_] := Block[{k = 0}, While[ PrimeFactorExponentsAdded[n^n + k] != 2, k++ ]; k]; Table[ f[n], {n, 1, 40}]
PROG
(PARI) a(n) = my(k=0); while (bigomega(n^n+k) != 2, k++); k; \\ Michel Marcus, Jul 21 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 21 2003
EXTENSIONS
Edited and extended by Robert G. Wilson v, Aug 14 2003
Corrected and extended by Ray Chandler, Nov 22 2003
a(69)-a(82) from Max Alekseyev, Jun 13 2009
a(52) and a(73) corrected by Sean A. Irvine, Jul 20 2020
STATUS
approved