|
|
A193882
|
|
Numbers n such that 10^n+sigma(n^2) is prime.
|
|
1
|
|
|
1, 2, 3, 8, 13, 15, 19, 20, 41, 47, 50, 76, 100, 162, 204, 310, 318, 536, 2502, 4016, 5612, 5849, 52753, 64843
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
sigma(x) is even unless x is a square or twice a square, therefore 10^n+sigma(n) can't be prime unless n is a square or twice a square, and {1, 2, 4, 242} are the only solutions < 5000.
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[Range[0, 10000], PrimeQ[10^# + DivisorSigma[1, #^2]] &] (*
|
|
PROG
|
(PARI) for(n=1, 9999, ispseudoprime(10^n+sigma(n^2)) && print1(n", "))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|