A189007: Number of ON cells after n generations of the 2D cellular automaton described in the comments.
Statement
Conjecture: a(1) = 1; a(n) = 2^A056791(n-1) for n > 1. · Comment from N. J. A. Sloane, Jul 21 2014: It is not difficult to show that the preceding conjecture is correct. In fact one can give an explicit formula for the n-th term. At generation n >= 2, the configuration of ON cells consists of a set of concentric diamonds (see the illustration). The sizes of the diamonds are given by the (n-2)nd term of A245191. Let N = A245191(n-2) = Sum{i>=0} bi*2^i. Then the ON cells form a set of diamonds with edge-lengths i+2 for each bi = 1. The i-th diamond contains 4*(i+1) ON cells, and the total number of ON cells is therefore a(n) = 4*Sumi (i+1)*bi. The bi are given explicitly in A245191. For example, if n=11, N = A245191(9) = 544 = 2^5 + 2^9, so b5 = b9 = 1, there are two diamonds, of side lengths 7 and 11, containing a total of 4*(6+10) = 64 = a(11) ON cells.
Posed by Michael De Vlieger · OEIS
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-a189007.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-a189007.lean
import Mathlib /-! # A189007: Number of ON cells after n generations of the 2D cellular automaton described in the comments. Source: https://oeis.org/A189007 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_a189007 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a189007