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”).

A167736
Primes that becomes a square when prefixed with a 3.
8
61, 4969, 6481, 9601, 23761, 26041, 37561, 68449, 88129, 129361, 179089, 214849, 265249, 301489, 308761, 411409, 455881, 463321, 485689, 508129, 523129, 530641, 659569, 713329, 751969, 829849, 916441, 924361, 948169, 964081, 996001, 1058329, 1147561, 1281649
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[1000000]], IntegerQ[Sqrt[FromDigits[Join[{3}, IntegerDigits[ #]]]]]&] (* Harvey P. Dale, Nov 01 2011 *)
PROG
(PARI)
\\ terms upto 10^n
upto(n) = {my(sqrt31 = sqrt(3.1), sqrt40 = sqrt(4.0), r); for(k=2, n, for(j = ceil((sqrt31 * sqrt(10^k))), floor(sqrt40 * sqrt(10^k)), r = j^2%10^k; if(isprime(r), print1(r", "))))} \\ David A. Corneth, Jun 24 2016
KEYWORD
base,nonn
AUTHOR
Claudio Meller, Nov 10 2009
EXTENSIONS
More terms from Harvey P. Dale, Nov 01 2011
STATUS
approved