login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A352777
a(n) = Sum_{p <= n <= q < 2n, p,q prime} (p * q).
3
0, 10, 40, 60, 120, 180, 527, 408, 697, 1020, 1680, 2016, 2952, 2419, 3608, 4879, 6902, 5916, 10703, 9240, 12397, 15708, 20400, 22800, 22800, 22800, 28100, 28100, 36249, 40119, 59520, 54560, 54560, 65280, 65280, 76640, 108744, 101455, 101455, 117018, 141372, 151368, 178716
OFFSET
1,2
COMMENTS
Total area of all unique p X q rectangles with p,q prime such that p <= n <= q < 2n.
EXAMPLE
a(5) = 120; the 6 unique p X q rectangles, with p,q prime such that p <= 5 <= q < 10 are: 2 X 5, 2 X 7, 3 X 5, 3 X 7, 5 X 5, and 5 X 7. The total area of all rectangles is 2*5 + 2*7 + 3*5 + 3*7 + 5*5 + 5*7 = 120.
MATHEMATICA
Table[Sum[Sum[k (2 n - i) (PrimePi[k] - PrimePi[k - 1]) (PrimePi[2 n - i] - PrimePi[2 n - i - 1]), {k, n}], {i, n}], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Apr 02 2022
STATUS
approved