A354766: 1/4 of the total number of integral quadruples with sum = n and sum of squares = n^2.
Statement
Conjectures from Colin Mallows, Jun 12 2022: Given a natural number n, a "quad" for n is a quadruple q = (h,i,j,k) of integers with sum(q) = h+i+j+k = n and sum(q^2) = h^2+i^2+j^2+k^2 = n^2. A quad q is "primitive" if gcd(h,i,j,k) = 1. Define pq(n) = A278085(n) to be the number of distinct primitive quads for n, and tq(n) (the present sequence) to be the total number of quads for n. Conjecture 1: (Based on the data for n <= 5000) pq/4 and tq/4 are multiplicative sequences. Conjecture 2: When n = p^k, p prime and k >= 1: if p = 2, k = 1 then pq(q)/4 = 1 and tq(n)/4 = 2; if p = 2, k >= 2 then pq(q)/4 = 0 and tq(n)/4 = 2; if p = 3, k >= 1 then pq(q)/4 = n and tq(n)/4 = (3*n-1)/2; if p == 5 (mod 6), k >= 1 then pq(q)/4 = (p+1)*n/p and tq(n)/4 = n + 2*(n-1)/(p-1); if p == 1 (mod 6), k >= 1 then pq(q)/4 = (p-1)*n/p and tq(n)/4 = n. · It was conjectured that the numbers n for which a(n) = n hav
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-a354766.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-a354766.lean
import Mathlib /-! # A354766: 1/4 of the total number of integral quadruples with sum = n and sum of squares = n^2. Source: https://oeis.org/A354766 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_a354766 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a354766