The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A303115 Total area of the family of rectangles with side lengths p and q such that n = p + q, p < q, and |q-p| is not semiprime. 1
0, 0, 2, 3, 10, 8, 28, 15, 60, 33, 100, 55, 160, 94, 244, 139, 340, 207, 466, 302, 626, 428, 802, 566, 1018, 741, 1252, 930, 1532, 1162, 1862, 1441, 2246, 1771, 2654, 2121, 3086, 2528, 3580, 2957, 4100, 3449, 4688, 4008, 5348, 4638, 6084, 5296, 6900, 6031 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = Sum_{1..floor((n-1)/2)} i * (n-i) * (1 - [Omega(n-2i) = 2]), where [] is the Iverson bracket and Omega = A001222.
MATHEMATICA
Table[Sum[i*(n - i) (1 - KroneckerDelta[PrimeOmega[n - 2 i], 2]), {i, Floor[(n - 1)/2]}], {n, 80}]
CROSSREFS
Sequence in context: A278561 A369991 A193729 * A074068 A351413 A283436
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Apr 18 2018
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 June 6 17:29 EDT 2024. Contains 373134 sequences. (Running on oeis4.)