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

A062863
Numbers which cannot be written as sums of squares of consecutive numbers (even allowing squares of negative numbers).
2
3, 7, 8, 11, 12, 17, 18, 20, 21, 22, 23, 24, 26, 27, 32, 33, 34, 37, 38, 39, 40, 42, 43, 45, 46, 47, 48, 51, 52, 53, 57, 58, 59, 62, 63, 65, 66, 67, 68, 70, 71, 72, 73, 74, 75, 76, 78, 79, 80, 82, 83, 84, 87, 88, 89, 93, 94, 95, 97, 98, 99, 101, 102, 103, 104, 106, 107, 108
OFFSET
0,1
MATHEMATICA
Complement[Range[150], Union[Flatten[Table[Union[Total/@(Partition[ Range[-50, 50], i, 1]^2)], {i, 20}]]]] (* Harvey P. Dale, Jan 04 2012 *)
CROSSREFS
Complement of A062861. Cf. A062862.
Sequence in context: A285164 A106753 A174871 * A194470 A078466 A047528
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jun 25 2001
STATUS
approved