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

A106574
Indices n of perfect squares n^2 which are neither the sum nor the difference of two primes.
2
11, 17, 23, 25, 31, 41, 51, 53, 59, 65, 67, 73, 79, 83, 85, 87, 91, 95, 97, 101, 109, 113, 115, 125, 129, 133, 137, 141, 143, 149, 151, 153, 157, 159, 163, 165, 167, 175, 179, 181, 185, 187, 189, 193, 195, 197, 199, 201, 203, 207, 209, 213, 215, 221, 227, 229
OFFSET
1,1
FORMULA
a(n) = sqrt(A106573(n)).
EXAMPLE
a(2)=17 because the second square which is nor the sum nor the difference of two primes (289=17^2) is the 17th one in the succession of the perfect squares (thus: index 17).
KEYWORD
easy,nonn
AUTHOR
Alexandre Wajnberg, May 09 2005
EXTENSIONS
Corrected and extended by Ray Chandler, May 12 2005
STATUS
approved