login
A167472
Primes p such that (p reversed) +6 is a square.
1
3, 877, 3049, 3631, 4951, 4999, 5197, 5743, 8101, 8377, 9103, 9109, 9127, 34273, 36721, 36781, 36943, 36979, 38671, 49069, 49993, 51769, 53437, 55171, 55987, 59509, 81817, 81931, 87277, 87613, 89119, 91243, 300499, 304021, 306421
OFFSET
1,1
LINKS
EXAMPLE
877->778+6=28^2; 8101->1018+6=32^2; 3049->9403+6=97^2.
MATHEMATICA
Select[Prime[Range[30000]], IntegerQ[Sqrt[FromDigits[Reverse[ IntegerDigits[#]]] + 6]]&] (* Vincenzo Librandi, Sep 15 2013 *)
Select[Prime[Range[30000]], IntegerQ[Sqrt[IntegerReverse[#]+6]]&] (* Harvey P. Dale, Aug 13 2024 *)
PROG
(Magma) [p: p in PrimesInInterval(2, 350000) | IsSquare(q+6) where q is Seqint(Reverse(Intseq(p)))]; // Vincenzo Librandi, Sep 15 2013
CROSSREFS
Sequence in context: A163430 A203688 A253578 * A199040 A094592 A210768
KEYWORD
nonn,base,less
AUTHOR
Vincenzo Librandi, Nov 04 2009
STATUS
approved