Skip to content

A073859

OEIS Lean4

a(1)=1 and a(n>1)=min{primes up to n-1 | a(1)+a(2)+…+a(n-1)+a(n) is a cube}.

offset: 1
codomain: ℕ

The OEIS sequence is finite. The function defined in Lean has domain ℕ, andwhile it coincides with the OEIS in the known values, the Lean code might not represent the mathematical concept.

finite