A332087 Diagonals of cellular automata with 4 conditions and 6 possible values.
3, 33, 333, 3333, 33433, 334433, 3344433, 33433433, 334444433, 3344444433, 33434443433, 334445544433, 3344455544433, 33434000043433, 334444444444433, 3344444334444433, 33434400000443433, 334445433334544433, 3344454322234544433, 33434050022005043433, 3344444433333344444433
Offset: 1
Keywords
Examples
value(1,1) = floor(((3)+(3)+(3)+(3)+(3)+(3)+(3))/7 +1) = 4, value(1,2) = floor(((4)+(3)+(3)+(3)+(3)+(3)+(3))/7 +1) = 4, value(2,1) = floor(((3)+(4)+(3)+(3)+(3)+(3)+(3))/7 +1) = 4, ...
Links
- Mario Cortés, VISUAL REPRESENTATION WITH COLORS
Crossrefs
Cf. A006943.
Formula
value(v,u)= (In order of priority)
if( (v,u-1)+(v-1,u)+(v-1,u-1)+(v,u-2)+(v-2,u)-(v-1,u-2)-(v-2,u-1) )>10;0
if( (v,u-1)+(v-1,u)+(v-1,u-1)-(v,u-2)-(v-2,u) )=5;3
if( (v,u-1)+(v-1,u)+(v-1,u-1)+(v-1,u-2)+(v-2,u-1)-(v-2,u-2) )=3;2
if( (v-1,u-2)+(v-2,u-1)+(v-2,u-2)+(v-1,u-1)-(v,u-1)-(v-1,u) )=1;1
if nothing= floor(((v,u-1)+(v-1,u)+(v-1,u-1)+(v,u-2)+(v-2,u)-(v-1,u-2)-(v-2,u-1))/7 +1)
Comments