A078135 Numbers which cannot be written as a sum of squares > 1.
1, 2, 3, 5, 6, 7, 10, 11, 14, 15, 19, 23
Offset: 1
Links
- Eric Weisstein's World of Mathematics, Square Number.
- Index entries for sequences related to sums of squares
Crossrefs
Programs
-
Mathematica
nn=100; ser=Product[If[SquareFreeQ[n],1,1/(1-x^n)],{n,nn}]; Join@@Position[CoefficientList[Series[ser,{x,0,nn}],x],0]-1 (* Gus Wiseman, Dec 14 2018 *)
Formula
A033183(a(n)) = 0. - Reinhard Zumkeller, Nov 07 2009
Comments