A352378 Irregular triangle read by rows: T(n,k) is the (n-th)-to-last digit of 2^p such that p == k + A123384(n-1) (mod A005054(n)); k >= 0.
2, 4, 8, 6, 1, 3, 6, 2, 5, 1, 2, 4, 9, 9, 8, 6, 3, 7, 4, 8, 7, 5, 0, 0, 1, 2, 5, 0, 0, 0, 1, 3, 7, 5, 0, 1, 2, 5, 1, 3, 6, 2, 4, 8, 7, 4, 9, 8, 6, 2, 5, 1, 3, 7, 4, 9, 8, 7, 5, 1, 2, 4, 8, 6, 3, 6, 3, 6, 2, 4, 9, 9, 9, 9, 8, 7, 4, 9, 9, 9, 8, 6, 2, 4, 9, 8, 7, 4, 8, 6, 3, 7, 5, 1, 2, 5, 0, 1, 3, 7, 4, 8, 6, 2, 5, 0, 1
Offset: 1
Examples
Irregular triangle begins: n/k| 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, ... | Number of terms: ---+---------------------------------------+----------------- 1 | 2, 4, 8, 6; | 4 2 | 1, 3, 6, 2, 5, 1, 2, 4, 9, 9, 8, ... | 20 3 | 1, 2, 5, 0, 0, 0, 1, 3, 7, 5, 0, ... | 100 4 | 1, 2, 4, 8, 6, 2, 5, 1, 2, 4, 8, ... | 500 5 | 1, 3, 6, 3, 6, 2, 4, 9, 9, 8, 7, ... | 2500 6 | 1, 2, 5, 0, 0, 1, 3, 7, 5, 1, 2, ... | 12500 ...
Crossrefs
Programs
-
PARI
A352378_rows(n)=my(N=logint(10^(n-1),2),k=4*5^(n-1)); vector(k,v,floor(lift(Mod(2,10^n)^(v+N))/(10^(n-1))))
Formula
For n > 1, T(n,0) = 1.
Comments