A106544 Perfect squares n^2 which are not the sum of two primes (otherwise 0).
1, 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, 1521, 0, 1681, 0, 0, 0, 2025, 0, 0, 0, 0, 0, 2601, 0, 2809, 0, 0, 0, 3249, 0, 3481, 0, 0, 0, 0, 0, 4225, 0, 4489, 0, 0, 0, 0, 0, 5329, 0, 0, 0, 0, 0, 6241, 0, 6561
Offset: 1
Examples
a(10)=0 because 10^2=100=97+3 (sum of two primes) a(11)=11^2=121, which is impossible to obtain summing two primes.
Formula
a(n) = n^2 - A106545(n).
Extensions
Extended by Ray Chandler, May 12 2005
Comments