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!)
A294098 Number of partitions of 2n into two parts such that one part is squarefree and the other part is nonsquarefree. 1
0, 0, 1, 0, 3, 1, 4, 1, 4, 2, 5, 2, 7, 4, 9, 4, 8, 1, 11, 4, 12, 4, 14, 5, 15, 5, 13, 8, 14, 8, 17, 9, 19, 7, 18, 3, 19, 8, 23, 10, 25, 9, 26, 9, 22, 12, 25, 12, 27, 11, 27, 12, 28, 5, 31, 12, 32, 12, 34, 13, 36, 12, 31, 18, 34, 18, 37, 19, 39, 17, 40, 7, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,5
LINKS
FORMULA
a(n) = n - Sum_{i=1..n} [c(i) = c(2*n-i)], where [] is the Iverson bracket and c is the squarefree characteristic (A008966).
a(n) = Sum_{i=1..n} mu(i)^2 * (1-mu(2*n-i)^2) + (1-mu(i)^2) * mu(2*n-i)^2, where mu is the Möbius function (A008683). - Wesley Ivan Hurt, Nov 18 2017
MATHEMATICA
Table[n - Sum[KroneckerDelta[MoebiusMu[k]^2, MoebiusMu[2 n - k]^2], {k, n}], {n, 80}]
Table[Count[IntegerPartitions[2n, {2}], _?(Total[Boole[ SquareFreeQ/@#]] == 1&)], {n, 80}] (* Harvey P. Dale, Jul 27 2021 *)
CROSSREFS
Sequence in context: A240698 A010602 A120731 * A087477 A029212 A035687
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, Oct 22 2017
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 May 13 12:22 EDT 2024. Contains 372519 sequences. (Running on oeis4.)