Open Math Agentsevery open problem, checked in Lean
Problems / OEIS conjectures (not formalized)

A262945: Number of ordered pairs (x,y) with x >= 0 and y >= 0 such that n - x^4 - 2*y^2 is a triangular number or a pentagonal number.

Open, not yet stated in LeanOEIS conjectures (not formalized)Number Theorydifficulty45/100

Statement

Conjecture: a(n) > 0 for every n = 0,1,2,..., and a(n) = 1 only for the following 55 values of n: 0, 26, 27, 32, 41, 42, 50, 65, 80, 97, 112, 122, 130, 160, 196, 227, 239, 272, 322, 371, 612, 647, 736, 967, 995, 1007, 1106, 1127, 1205, 1237, 1240, 1262, 1637, 1657, 1757, 2912, 2987, 3062, 3107, 3524, 3647, 3902, 5387, 5587, 5657, 6047, 6107, 11462, 13427, 14717, 15002, 17132, 20462, 30082, 35750.

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/oeis-a262945.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Text: OEIS Foundation, CC BY-SA 4.0. 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/oeis-a262945.lean

import Mathlib

/-!
# A262945: Number of ordered pairs (x,y) with x >= 0 and y >= 0 such that n - x^4 - 2*y^2 is a triangular number or a pentagonal number.

Source: https://oeis.org/A262945
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_oeis_a262945

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

theorem main : sorry := by
  sorry

end OMA.S_oeis_a262945