cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A385235 a(n) is the number of partitions of n into primes of the form 4*k + 3.

Original entry on oeis.org

1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 3, 5, 5, 5, 6, 6, 7, 7, 7, 8, 9, 9, 9, 11, 11, 12, 13, 14, 15, 15, 17, 17, 19, 20, 20, 23, 24, 25, 26, 29, 30, 30, 34, 35, 37, 39, 41, 44, 46, 49, 51, 55, 57, 59, 64, 66, 70, 73, 77
Offset: 0

Views

Author

Felix Huber, Jul 06 2025

Keywords

Comments

a(0) = 1 corresponds to the empty partition {}.

Examples

			The a(14) = 2 partitions of 14 into primes of the form 4*k + 3 are [3, 11] and [7, 7].
The a(23) = 3 partitions of 23 into primes of the form 4*k + 3 are [23], [3, 3, 3, 3, 11] and [3, 3, 3, 7, 7].
		

Crossrefs

Programs

  • Maple
    with(gfun):
    A385235:=proc(N) # To get the first N terms.
        local f,i,g,h,n;
        f:=select(x->x mod 4=3,[seq(ithprime(i),i=1..NumberTheory:-pi(N))]);
        g:=mul(1/(1-q^f[n]),n=1..nops(f)):
        h:=series(g,q,N):
        return op(seriestolist(h));
    end proc;
    A385235(76);

Formula

G.f.: 1 / Product_{k>=1} (1-x^A002145(k)).
a(n) + A385234(n) <= A000607(n) for n >= 1.
a(n) >= A024942(n).
Showing 1-1 of 1 results.