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.

A243223 Number of partitions of n into positive summands in arithmetic progression with common difference 3.

Original entry on oeis.org

0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 0, 2, 1, 1, 1, 1, 1, 2, 0, 1, 2, 1, 0, 2, 1, 2, 1, 1, 1, 2, 1, 1, 2, 1, 0, 3, 1, 1, 1, 1, 2, 3, 0, 1, 2, 2, 0, 3, 1, 1, 2, 1, 1, 3, 0, 2, 2, 1, 0, 3, 3, 1, 1, 1, 1, 4, 0, 2, 2, 1, 1, 3, 1, 1, 2, 2, 1, 3, 0, 1, 3, 2, 1, 3, 1, 2, 1, 1
Offset: 1

Views

Author

Keywords

Comments

This sequence gives the number of ways to write n as n = a + a+3 + ... + a+3r = (r+1)(2a+3r)/2, with a and r integers > 0.

Examples

			a(15) = 2 because 15 = 6 + 9 = 2 + 5 + 8.
		

Crossrefs

Cf. A072670 (same with common differences = 2).
A243225 gives the integers n that are not such sums for which a(n) = 0.

Formula

a(n) = d1(n) - 1 - f(n) with d1(n) = number of odd divisors of n (A001227) and f(n) = the number of those odd divisors d of n such that d > 1 and d(1+d/3)/2 <= n <= 3d(d-1)/2. f(n) is in A243224.
Showing 1-1 of 1 results.