Skip to content

A226960

OEIS Lean4

Numbers n such that 1^n + 2^n + 3^n +…+ n^n == 2 (mod n).

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