OFFSET
1,1
FORMULA
A049076(n) = number of appearances of prime(n).
EXAMPLE
corner:
2 3 5 7 11 13 17
3 5 11 17 31 41 59
5 11 31 59 127 179 277
11 31 127 277 709 1063 1787
31 127 709 1787 5381 8527 15299
127 709 5381 15299 52711 87803 167449
709 5381 52711 167449 648391 1128889 2269733
MATHEMATICA
r[0] = Range[16];
r[n_] := r[n] = Prime[r[n - 1]]
Grid[Table[r[n], {n, 1, 6}]] (* array *)
p[n_, k_] := r[n][[k]];
Table[p[n - k + 1, k], {n, 9}, {k, n, 1, -1}] // Flatten (* sequence *)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Clark Kimberling, Oct 19 2024
STATUS
approved