OFFSET
1,1
COMMENTS
There can be more than one value of k such that A004431(n) +/- k are both positive squares; i.e., when there are multiple ways to express A004431(n) as the sum of positive squares. These are the terms which appear more than once in A055096. For example A004431(19) = 65 = {(1^2 + 8^2), (4^2 + 7^2)}: 65 +/- 16 = {7^2, 9^2} and 65 +/- 56 = {3^2, 11^2}. So a(19) = 56 rather than 16.
Similar to A270835; differences occur for n<56 at n = {19,25,38,39,42,51}; i.e., terms A004431(n) which appear more than once in A055096.
Sequence contains every even number >=4 and no odd numbers.
EXAMPLE
a(11)=24 because A004431(11) = 40; 40+24 = 8^2 and 40-24 = 4^2.
CROSSREFS
KEYWORD
nonn
AUTHOR
Bob Selcoe, Apr 19 2016
STATUS
approved