This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A176041 #14 Jul 15 2021 16:01:52 %S A176041 1,1,4,1,2,3,1,1,12,7,1,4,9,9,24,1,2,10,17,9,25,1,1,1,11,7,26,11,1,4, %T A176041 4,6,28,30,1,7,1,2,3,5,25,9,4,28,22,1,1,12,1,13,36,16,6,27,12,1,4,9,4, %U A176041 23,33,21,24,47,48,9,1,2,10 %N A176041 Triangle read by rows: R(n, k) = 2^(2n - 2) mod prime(2k), 1<=k<=n. %C A176041 The leftmost diagonal is all 1s because all even-indexed powers of 2 are congruent to 1 mod 3 (since 3 is the first even-indexed prime). %e A176041 Triangle begins: %e A176041 1 %e A176041 1, 4 %e A176041 1, 2, 3 %e A176041 1, 1, 12, 7 %e A176041 1, 4, 9, 9, 24 %e A176041 1, 2, 10, 17, 9, 25 %e A176041 For example, R(4, 4) = 7 because 2^(2 * 4 - 2) = 2^6 = 64; the (2 * 4)th prime is 19; and 64 divided by 19 leaves a remainder of 7. %t A176041 ColumnForm[Table[Mod[2^(2n - 2), Prime[2k]], {n, 12}, {k, n}], Center] %t A176041 Table[PowerMod[2,2n-2,Prime[2k]],{n,15},{k,n}]//Flatten (* _Harvey P. Dale_, Jul 15 2021 *) %Y A176041 Cf. A000079, A181670. %K A176041 nonn,tabl %O A176041 1,3 %A A176041 _Juri-Stepan Gerasimov_, Dec 06 2010