OFFSET
1,1
REFERENCES
G. Pólya and G. Szegő, Problems and Theorems in Analysis II (Springer 1924, reprinted 1972), Part Eight, Chap. 1, Sect. 2, Problem 20.
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = (A002144(n)^2 - 1) / 12.
a(n) = Sum_{k=1..(p-1)/4} floor(sqrt(k*p)), where p = primes of the form 4*n+1.
MATHEMATICA
Map[(#^2 - 1)/12 &, Select[4 Range[120] + 1, PrimeQ]] (* Michael De Vlieger, Dec 27 2019 *)
PROG
(Magma) [(p^2 - 1) / 12: p in PrimesUpTo(500)| p mod 4 eq 1]; // Marius A. Burtea, Dec 29 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 20 2005
STATUS
approved