Stars and bars:
ProvedMagicNumberShellModel.card_oscillatorLevelcombinatoricsmathematical-physicsnuclear-shell-model
Let be the set of states of the isotropic three-dimensional harmonic oscillator at energy level , that is, the set of triples of nonnegative integers with . Then the number of such states is
This is the stars-and-bars count of the weak -compositions of , and it is the degeneracy of the -th oscillator level before spin is taken into account. It is the single combinatorial input of the whole derivation: every later count is obtained from it by doubling and summing.
Formalization Note. The binomial coefficient is the natural-number function, so the identity is stated without division.
Preamble
import Definitions.Def_magic_number_shell_model
Formal statement
namespace MagicNumberShellModel
theorem card_oscillatorLevel (n : ℕ) :
(oscillatorLevel n).card = (n + 2).choose 2 := by sorry
end MagicNumberShellModelSource
Magic number (physics), Wikipedia, section "Derivation" (the 3D harmonic oscillator paragraph: weak 3-compositions counted by stars and bars, factor 2 for spin, cumulative sums 2, 8, 20, 40), and section lead (list of the seven magic numbers 2, 8, 20, 28, 50, 82, 126). https://en.wikipedia.org/wiki/Magic_number_(physics)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.