OFFSET
1,2
COMMENTS
Conjecture: a(n) > 0 for all n > 0.
Note that the main term of log A000009(n) is Pi*sqrt(n/3). So, A000009(n) eventually grows faster than any polynomial.
The conjecture was verified by the author for n up to 4*10^6. After learning this conjecture from the author, Prof. Qing-Hu Hou at Tianjin Univ. finished his verification of the above conjecture for n up to 10^9. - Zhi-Wei Sun, Jan 02 2017
LINKS
Zhi-Wei Sun, Table of n, a(n) for n = 1..10000
Zhi-Wei Sun, Problems on combinatorial properties of primes, in: M. Kaneko, S. Kanemitsu and J. Liu (eds.), Number Theory: Plowing and Starring through High Wave Forms, Proc. 7th China-Japan Seminar (Fukuoka, Oct. 28--Nov. 1, 2013), Ser. Number Theory Appl., Vol. 11, World Sci., Singapore, 2015, pp. 169-187.
EXAMPLE
MATHEMATICA
SQ[n_]:=SQ[n]=IntegerQ[Sqrt[n]];
q[n_]:=q[n]=PartitionsQ[n];
ex={}; Do[r=0; m=2; Label[bb]; If[q[m]>n, Goto[cc]]; Do[If[SQ[n-q[m]-x^2], r=r+1], {x, 0, Sqrt[(n-q[m])/2]}]; m=m+If[m<3, 2, 1]; Goto[bb]; Label[cc]; ex=Append[ex, r]; Continue, {n, 1, 80}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Jan 01 2017
STATUS
approved