Left to Solve
Problems / MathOverflow (not formalized)

Computability of OEIS A034891 ...partitions of n into prime parts (1 included)

Open, not yet stated in LeanMathOverflow (not formalized)Number TheoryCombinatoricsdifficulty55/100

Statement

On the seqfan mailing list RGWv gave short algorithm for computing A000041 number of partitions of n the partition numbers:

f[1, 1] = 1; f[n_, k_] := f[n, k] = If[n < 0, 0, If[k > n, 0, If[k == n, 1, f[n, k + 1] + f[n - k, k]]]]

So number of partitions of is where is the recurrence:

Blindly changing to next_prime(k) (see sage implementation) appears to give A034891 Number of different products of partitions of n; partitions of n into prime parts (1 included); number of distinct orders of Abelian subgroups of symmetric group S_n.

This was verfied for the first 1000 terms, the last term being > .

Number of partitions of into prime parts (1 included) seems where is the recurrence:

Is this a correct way to compute A034891?

in the original formula seems a successor relation.

Other changes of :

seems A018819 Binary partition function: number of partitions of n into powers of …

Posed by joro · sequences-and-series, nt.number-theory, partitions

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-53205.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-53205.lean

import Mathlib

/-!
# Computability of OEIS A034891 ...partitions of n into prime parts (1 included)

Source: https://mathoverflow.net/questions/53205
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_53205

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_53205