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

A106547
Perfect squares n^2 which are neither the sum nor the difference of two primes (otherwise 0).
2
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 121, 0, 0, 0, 0, 0, 289, 0, 0, 0, 0, 0, 529, 0, 625, 0, 0, 0, 0, 0, 961, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1681, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2601, 0, 2809, 0, 0, 0, 0, 0, 3481, 0, 0, 0, 0, 0, 4225, 0, 4489, 0, 0, 0, 0, 0, 5329, 0, 0, 0, 0, 0, 6241, 0, 0, 0, 6889, 0
OFFSET
1,11
FORMULA
a(n) = Min(A106544(n), n^2-A106546(n)).
KEYWORD
easy,nonn
AUTHOR
Alexandre Wajnberg, May 08 2005
EXTENSIONS
Corrected and extended by Ray Chandler, May 12 2005
STATUS
approved