login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A188539
Numbers n such that n^2 plus number of divisors of n^2 is prime.
2
1, 2, 8, 10, 36, 38, 40, 44, 52, 58, 62, 68, 76, 80, 82, 98, 104, 108, 118, 124, 130, 136, 142, 154, 160, 170, 172, 182, 202, 208, 212, 218, 236, 238, 242, 266, 284, 290, 298, 316, 338, 356, 358, 364, 376, 382, 388, 410
OFFSET
1,2
COMMENTS
All terms > 1 are even. - Robert Israel, Apr 11 2018
LINKS
MAPLE
select(n -> isprime(n^2 + numtheory:-tau(n^2)), [1, seq(i, i=2..1000, 2)]); # Robert Israel, Apr 11 2018
MATHEMATICA
Select[Range[500], PrimeQ[#^2 + DivisorSigma[0, #^2]] &] (* Alonso del Arte, Apr 08 2011 *)
PROG
(PARI) is(n)=isprime(numdiv(n^2)+n^2) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A062880 A066707 A107227 * A230826 A071184 A174153
KEYWORD
nonn
AUTHOR
STATUS
approved