OFFSET
0,2
LINKS
Eric Angelini, Un tableau jaune de lui-même, personal blog CinquanteSignes.blogspot.com, Jun. 2, 2022.
EXAMPLE
If a square array is filled along falling diagonals with the digits of terms, we get:
[ 0 2 6 3 0 2 0 ...]
[ 4 1 2 5 7 1 8 ...]
[ 8 1 2 9 2 2 2 ...]
[ 2 3 2 1 6 7 3 ...]
[ 2 4 4 1 2 2 8 ...]
[ 1 1 1 9 1 1 1 ...]
[ 6 3 4 3 5 4 5 ...]
[ 0 1 4 5 5 4 5 ...]
[ 2 0 0 5 3 6 3 ...]
[ 3 1 2 5 5 6 7 ...]
[ 7 3 6 1 5 8 1 ...]
[ ... ... ...]
If the odd digits are replaced by blanks, we get:
[ 0 2 6 _ 0 2 0 ...]
[ 4 _ 2 _ _ _ 8 ...]
[ 8 _ 2 _ 2 2 2 ...]
[ 2 _ 2 _ 6 _ _ ...]
[ 2 4 4 _ 2 2 8 ...]
[ _ _ _ _ _ _ _ ...]
[ 6 _ 4 _ _ 4 _ ...]
[ 0 _ 4 _ _ 4 _ ...]
[ 2 0 0 _ _ 6 _ ...]
[ _ _ 2 _ _ 6 _ ...]
[ _ _ 6 _ _ 8 _ ...]
This reproduces the first row "0 2 ..." and second row "4 1 ..." of the square array.
Since this gives back the original array, the process can be iterated infinitely: e.g., removing the odd digits (made of "elementary" even digits: e.g., the "1" made of 4-4-6-6-8) will again yield the same array, with the entries written in even larger digits whose pixels are the even digits made of even smaller even digits. And so on.
PROG
(PARI)
{digit=[[1, 1, 1; 1, 0, 1; 1, 0, 1; 1, 0, 1; 1, 1, 1], [0, 1, 0; 0, 1, 0; 0, 1, 0; 0, 1, 0; 0, 1, 0], [1, 1, 1; 0, 0, 1; 1, 1, 1; 1, 0, 0; 1, 1, 1], [1, 1, 1; 0, 0, 1; 1, 1, 1; 0, 0, 1; 1, 1, 1], [1, 0, 1; 1, 0, 1; 1, 1, 1; 0, 0, 1; 0, 0, 1], [1, 1, 1; 1, 0, 0; 1, 1, 1; 0, 0, 1; 1, 1, 1], [1, 1, 1; 1, 0, 0; 1, 1, 1; 1, 0, 1; 1, 1, 1], [1, 1, 1; 0, 0, 1; 0, 0, 1; 0, 0, 1; 0, 0, 1], [1, 1, 1; 1, 0, 1; 1, 1, 1; 1, 0, 1; 1, 1, 1], [1, 1, 1; 1, 0, 1; 1, 1, 1; 0, 0, 1; 1, 1, 1]]}
L357049/*terms*/= D357049/*digits*/= List(0); /*bitmap of used terms*/U357049=1
if(x[2] == 3 || y[2]==5, 1/* space between rows/col's: digit must be odd */,
!digit[D357049[binomial(x[1]+y[1]+1, 2) +y[1] +1]+1][y[2]+1, x[2]+1])}
A357049(n)={while(#L357049<=n, /* extend the list by a new term */
my(k=valuation(U357049+1, 2), d); until(!k++, bittest(U357049, k) ||
for(i=1, #d=digits(k), d[i]%2 == parity(i-1+#D357049) || next(2)) || break);
listput(L357049, k); for(i=1, #d, listput(D357049, d[i])); U357049 += 1<<k);
L357049[n+1]} /* end of A357049 */
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Eric Angelini and M. F. Hasler, Oct 20 2022
STATUS
approved