login
A106573
Perfect squares which are neither the sum nor the difference of two primes.
12
121, 289, 529, 625, 961, 1681, 2601, 2809, 3481, 4225, 4489, 5329, 6241, 6889, 7225, 7569, 8281, 9025, 9409, 10201, 11881, 12769, 13225, 15625, 16641, 17689, 18769, 19881, 20449, 22201, 22801, 23409, 24649, 25281, 26569, 27225, 27889, 30625
OFFSET
1,1
FORMULA
A106547 with 0's removed.
EXAMPLE
a(2)=289 because it is the second perfect square which is impossible to obtain adding a prime to - or subtracting from - another one. 64 is not in the sequence because 64=67-3, a difference of two primes.
KEYWORD
easy,nonn
AUTHOR
Alexandre Wajnberg, May 09 2005
EXTENSIONS
Corrected and extended by Ray Chandler, May 12 2005
STATUS
approved