OFFSET
1,1
COMMENTS
Subsequence of A046704.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
FORMULA
From the sequence of primes whose s(d) values are prime, select those where sum of two consecutive s(d) values is a square.
EXAMPLE
a(2)=23; a(3)=29: 2+3=5; 2+9=11; 5+11=16, a square.
MATHEMATICA
Module[{sdp=Select[Prime[Range[500]], PrimeQ[Total[IntegerDigits[#]]]&]}, Flatten[Select[ Partition[ sdp, 2, 1], IntegerQ[ Sqrt[ Total[ Flatten[ IntegerDigits/@ #]]]]&]]]//Union (* Harvey P. Dale, Oct 09 2023 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Enoch Haga, Dec 20 2003
EXTENSIONS
Edited, corrected and extended by Ray Chandler, Feb 14 2004
STATUS
approved