editing
approved
editing
approved
(PARI) do(lim)=my(v=List(), q=Qfb(1, 0, 3)); forprime(p=2, lim, if(p%3==2, next); listput(v, qfbsolve(q, p)[2])); Vec(v) \\ Charles R Greathouse IV, Feb 07 2017
approved
editing
editing
approved
T. D. Noe, <a href="/A001480/b001480.txt">Table of n, a(n) for n = 1..1000</a>
approved
editing
editing
approved
A. J. C. Cunningham, <a href="/A002330/a002330.pdf">Quadratic Partitions</a>, Hodgson, London, 1904 [Annotated scans of selected pages]
approved
editing
editing
approved
B. van der Pol and P. Speziali, The primes in k(prho). Nederl. Akad. Wetensch. Proc. Ser. A. {54} = Indagationes Math. 13, (1951). 9-15 (1 plate).
B. van der Pol and P. Speziali, <a href="/A001479/a001479.pdf">The primes in k(rho)</a> (annotated and scanned copy)
approved
editing
nmax = 63; nextCuban[p_] := If[p1 = NextPrime[p]; Mod[p1, 3] > 1, nextCuban[p1], p1]; cubanPrimes = NestList[ nextCuban, 3, nmax ]; f[p_] := y /. ToRules[ Reduce[x > 0 && y > 0 && p == x^2 + 3*y^2, {x, y}, Integers]]; a[1] = 1; a[n_] := f[cubanPrimes[[n]]]; Table[ a[n] , {n, 1, nmax}] (* From _Jean-François Alcover, _, Oct 19 2011 *)
editing
approved