OFFSET
1,1
LINKS
Jinyuan Wang, Rows n = 1..100 of triangle, flattened
EXAMPLE
Triangle begins:
2;
3, 3;
2, 3, 7;
3, 3, 3, 3;
3, 5, 11, 5, 7;
5, 3, 7, 3, 5, 7;
2, 5, 13, 7, 11, 13, 17;
..
PROG
(PARI) T(n, k) = {my(d=binary(n^k), v); forprime(p=2, oo, v=binary(p); if(#v>#d || sum(i=1, #d-#v+1, v==vector(#v, j, d[i+j-1]))==0, return(p))); } \\ Jinyuan Wang, Mar 01 2020
CROSSREFS
KEYWORD
AUTHOR
Reinhard Zumkeller, Nov 30 2003
EXTENSIONS
More terms from Jinyuan Wang, Mar 01 2020
STATUS
approved