login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A343759 Total area of all p X r rectangles where n = p + r, p < r, p is prime and r is a positive integer. 1
0, 0, 0, 0, 6, 8, 22, 27, 32, 37, 72, 82, 92, 102, 168, 185, 202, 219, 236, 253, 270, 287, 436, 464, 492, 520, 730, 771, 812, 853, 894, 935, 976, 1017, 1364, 1422, 1480, 1538, 1976, 2053, 2130, 2207, 2284, 2361, 2438, 2515, 3144, 3244, 3344, 3444, 3544, 3644, 3744, 3844, 3944 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = Sum_{k=1..floor((n-1)/2)} k*(n-k)*c(k), where c is the prime characteristic (A010051).
EXAMPLE
a(7) = 22; The two rectangles are 2 X 5 and 3 X 4. The total area is then 2*5 + 3*4 = 10 + 12 = 22.
a(10) = 37; The two rectangles are 2 X 8 and 3 X 7 (we don't count 5 X 5 since p < r). The total area is then 2*8 + 3*7 = 16 + 21 = 37.
MATHEMATICA
Table[Sum[i*(n - i) (PrimePi[i] - PrimePi[i - 1]), {i, Floor[(n - 1)/2]}], {n, 60}]
CROSSREFS
Cf. A010051, A343758 (non-distinct).
Sequence in context: A084962 A365649 A296354 * A024306 A024868 A262199
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Apr 27 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)