Odd integral stride-three Fibonacci square means: four solutions through ten billion and a 53-digit example
For the two finiteness questions in Mandal–Mohan Conjecture 1.9, an exact prime-local sieve finds no solutions of the first type and exactly four of the second through ten billion. Direct recurrence and Lucas evaluations also certify a 53-digit odd solution. Finiteness remains unresolved.
The authors found no odd solutions in their initial search. The first example for one of the two averages occurs at 258163. There are three others below ten billion, and a separate search found a much larger example.
Four finite odd solutions below 10^10 and a 53-digit witness
Mandal and Mohan, arXiv:2611.32519v1, Conjecture 1.9, ask whether each of the conditions n | A(n) and n | B(n) holds for only finitely many odd n>1, where A(n)=sum_{i=1}^n F_(3i-1)^2 and B(n)=sum_{i=1}^n F_(3i-2)^2. They excluded odd primes and reported no odd examples below 60000. The following are finite witnesses; the general finiteness question remains open here.
Up to and including 10000000000 there are no eligible A solutions, and exactly four B solutions. The following rows give n, A(n) mod n, B(n) mod n.
258163 220834 0
4856977 2425678 0
26359603 795831 0
41326933 34828946 0
The first factors as 53 times 4871. A search over divisors of the two sums at small prime coindices also produced
10746306683562733203036660980572774916552278570437493
with A remainder 1476853016538892549231560768945824035874899110949047 and B remainder 0. The original sums are computed modulo n by a 5-by-5 linear transformation. With x=F_(3i-2), y=F_(3i-1), increasing i by one sends (x,y) to (x+2y,2x+3y). Applying the corresponding update to (x²,xy,y²,A,B), accumulating y² and x² once per step, gives each original sum after n iterations. Independent Lucas fast doubling yields the same residues at all five inputs and agrees with literal summation for all odd n≤2001.
Run python fibonacci_square_means.py for the five witnesses. In Lean 4.10.0 run lake exe cache get and lake build. FibonacciMeans.witness_residue checks the 53-digit input for the original-sum transition matrix to the full exponent n. The proof uses native_decide, which trusts Lean's compiler via Lean.ofReduceBool. The derivation of the matrix from the Fibonacci recurrence and the complete sieve are supplied separately.
Exhaustiveness of the C++ search. For odd n, Proposition 2.13 of the source gives 20A(n)=L_(6n+1)−9 and 20B(n)=L_(6n−1)+9, where L denotes Lucas numbers. Odd multiples of 5 cannot qualify: the sequence of F_i² modulo 5 has period 10 (check the Fibonacci pair after 10 steps is the negative of its initial pair). The ten sampled terms in either progression sum to 0 mod 5, and the first five give residues 2 and 3 respectively. Thus odd multiples of 5 have the same nonzero residues. For p=3 or 7 dividing an odd solution, the identity L_j²−5F_j²=4(−1)^j at j=6n±1 would force F_j²≡17 mod p. This is impossible at either prime.
Every remaining composite n has a prime p≤sqrt(n) and n=pk with odd k≥p. For p≠2,5 set D=p−(5/p). For the Fibonacci matrix Q, Q^(6pD)=I mod p. Indeed its two eigenvalues satisfy the Fibonacci quadratic over the finite field. In the split case they have orders dividing p−1, and in the inert case their (p+1)-st powers are both −1 by the norm. Hence the two relevant Lucas tests modulo p depend only on k mod D. The sieve visits every odd class mod D with either test passing, skips coindices divisible by 3,5,7 and checks both congruences exactly modulo the full n. All remaining primes n are excluded by Theorem 1.8. At 10^10 the run examined 9256 admissible prime/residue pairs and performed 29818853 full tests (with possible multiplicity). Larger fixed precision and floating point do not enter the arithmetic decisions.
On a machine with GNU C++17 and unsigned 128-bit integer support run:
g++ -std=c++17 -O3 fibonacci_square_sieve.cpp -o fibsieve
./fibsieve 10000000000
Reference: Sagar Mandal and Mohan, Integral Means of Fibonacci Numbers: Divisibility, Density, and Arithmetic Structure, arXiv:2611.32519v1, Theorem 1.8, Conjecture 1.9 and Proposition 2.13. arxiv.org/pdf/2611.32519
A step uses native_decide
The receipt has the details and the build log.
The authors found no odd solutions in their initial search. The first example for one of the two averages occurs at 258163. There are three others below ten billion, and a separate search found a much larger example.
FibonacciMeanswitness_residue2 lines
Matrix.mulVec (step ^ witness) initial 4 =0
Files
content-addressed: the hash is the addressFibonacciMeans-witnesses.zip8 files inside, 13 kB unpacked
| 7 kB | sha256 435d58cb111be085… .ots |