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

 

Logo

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 60th year, we have over 367,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A234716 Number of odd composite integers k, such that n-1 < k < 2n-2. 1
0, 0, 0, 0, 0, 1, 1, 1, 2, 1, 1, 2, 2, 3, 4, 3, 3, 4, 5, 5, 6, 5, 5, 6, 6, 6, 7, 6, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 11, 11, 12, 13, 12, 13, 14, 15, 14, 15, 14, 14, 15, 15, 14, 15, 14, 15, 16, 17, 18, 19, 19, 19, 19, 19, 20, 21, 20, 20, 21, 22, 23 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
COMMENTS
Number of partitions of 2n into two odd parts such that the largest part is an odd composite less than 2n-2.
LINKS
FORMULA
a(n) = floor((n-1)/2) - pi(2n-3) - pi(n-1).
EXAMPLE
a(9) = 2; There are two partitions of 2(9) = 18 into two odd parts such that the largest part is an odd composite less than 2(9)-2 = 16: (15,3) and (9,9).
MAPLE
with(numtheory); A234716:=n->floor((n-1)/2) - pi(2*n-3) + pi(n-1); seq(A234716(n), n=1..100);
MATHEMATICA
Table[Floor[(n - 1)/2] - PrimePi[2 n - 3] + PrimePi[n - 1], {n, 100}]
CROSSREFS
Sequence in context: A113297 A119985 A306945 * A357383 A181885 A116560
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Dec 29 2013
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 December 9 13:48 EST 2023. Contains 367691 sequences. (Running on oeis4.)