login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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.
a(25) > 10^5. - Robert Price, May 08 2015
LINKS
MATHEMATICA
Select[Range[0, 10000], PrimeQ[10^# + DivisorSigma[1, #^2]] &] (*
Robert Price, May 08 2015 *)
PROG
(PARI) for(n=1, 9999, ispseudoprime(10^n+sigma(n^2)) && print1(n", "))
CROSSREFS
Sequence in context: A086590 A160610 A127484 * A168343 A217330 A358207
KEYWORD
nonn
AUTHOR
M. F. Hasler, Aug 07 2011
EXTENSIONS
a(19)-a(24) from Robert Price, May 08 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 09:48 EDT 2024. Contains 371905 sequences. (Running on oeis4.)