%I #23 Nov 30 2014 14:06:11
%S 1,1,1,1,1,0,1,2,1,0,0,1,0,1,1,1,4,0,0,1,1,0,1,1,0,0,0,1,0,0,0,2,2,1,
%T 1,1,0,0,0,0,2,0,0,0,1,0,1,2,1,0,0,0,0,0,0,1,1,0,0,1,0,1,1,1,2,0,0,4,
%U 0,0,0,0,1,0,0,0,1,0,1,2,0,0,0,1
%N The number of representations of n as n=x^2-2^y, x>0, y>=0.
%C The n for which the count is nonzero are listed in A051204.
%H R. J. Mathar, <a href="/A247763/b247763.txt">Table of n, a(n) for n = 1..136</a>
%H Maohua Le, <a href="https://eudml.org/doc/206430">On the number of solutions of the generalized Ramanujan-Nagell equation x^2-d=2^(n+2)</a>, Acta Arithm. 60 (1991) 149.
%H R. J. Mathar, <a href="/A247763/a247763.pdf">The number of representations of n of the form n=x^2-2^y</a> [PDF]
%H Nicholas Tzanakis, <a href="http://dx.doi.org/10.1016/0022-314X(83)90016-1">On the diophantine equation y^2-d=2^k</a>, J. Number Theory 17 (1983) 144.
%Y Cf. A051205.
%K nonn
%O 1,8
%A _R. J. Mathar_, Oct 19 2014
|