|
|
A081115
|
|
(p^2 - 1)/12 where p > 3 runs through the primes.
|
|
5
|
|
|
2, 4, 10, 14, 24, 30, 44, 70, 80, 114, 140, 154, 184, 234, 290, 310, 374, 420, 444, 520, 574, 660, 784, 850, 884, 954, 990, 1064, 1344, 1430, 1564, 1610, 1850, 1900, 2054, 2214, 2324, 2494, 2670, 2730, 3040, 3104, 3234, 3300, 3710, 4144, 4294, 4370, 4524
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
3,1
|
|
COMMENTS
|
If p=4k+1, (p^2 - 1)/12 = Sum_{i=1..k} floor(sqrt(i*k)) (see links). - R. J. Mathar, Jul 07 2006
For n=1 and 2, the corresponding primes being 2 and 3, and a(n) is a fraction, not entered here. - Michel Marcus, Nov 11 2013
For prime p > 3, (p^2 - 1)/12 = (1/p)*Sum_{k=0..floor(p/2)} (p - k)*k. - Joseph Wheat, Feb 03 2018
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) a(n) = p = prime(n); (p^2-1)/12; \\ Michel Marcus, Nov 11 2013
(GAP) List(Filtered([5..20], IsPrime), p->(p^2-1)/12); # Muniru A Asiru, Feb 04 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|