This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A143539 #7 Jul 23 2021 09:03:58 %S A143539 0,0,1,1,1,1,2,2,0,2,3,1,3,1,1,3,1,2,3,3,1,2,3,1,4,2,1,5,1,1,5,3,1,2, %T A143539 4,1,3,4,2,5,3,1,4,2,2,6,2,1,3,2,3,5,4,1,5,5,1,6,3,2,5,1,2,2,4,3,5,4, %U A143539 0,7,4,1,6,3,1,5,2,2,5,6,1,2,5,2,7,4,2,6,2,2,9,2,3,4,4,2,2,4,1,9,5,3,5,5,3 %N A143539 Number of ways to express 2n-1 as p+2a^2; p prime, a > 0. %C A143539 Similar to A046921 and A046923. Sequence A060003 lists the odd numbers having no representations. %H A143539 T. D. Noe, <a href="/A143539/b143539.txt">Table of n, a(n) for n=1..10000</a> %H A143539 L. Hodges, <a href="https://www.jstor.org/stable/2690477">A lesser-known Goldbach conjecture</a>, Math. Mag., 66 (1993), 45-47. %e A143539 a(11)=3 because 21 = 19+2*1^2 = 13+2*2^2 = 3+2*3^2. %t A143539 Table[cnt=0; Do[If[PrimeQ[n-2*k^2], cnt++ ], {k,Floor[Sqrt[n/2]]}]; cnt, {n,1,20000,2}] %K A143539 nonn %O A143539 1,7 %A A143539 _T. D. Noe_, Aug 23 2008