OFFSET
1,1
COMMENTS
LINKS
Reinhard Zumkeller, Rows n = 1..100 of triangle, flattened
EXAMPLE
. n | prime(n) | ESR, row sum = prime(n)
. ---+----------+-------------------------
. 1 | 2 | [2]
. 2 | 3 | [3]
. 3 | 5 | [4, 1]
. 4 | 7 | [4, 3]
. 5 | 11 | [9, 2]
. 6 | 13 | [9, 4]
. 7 | 17 | [16, 1]
. 8 | 19 | [16, 3]
. 9 | 23 | [16, 4, 3]
. 10 | 29 | [25, 4]
. 11 | 31 | [25, 4, 2]
. 12 | 37 | [36, 1]
. 13 | 41 | [36, 4, 1]
. 14 | 43 | [36, 4, 3]
. 15 | 47 | [36, 9, 2]
. 16 | 53 | [49, 4]
. 17 | 59 | [49, 9, 1]
. 18 | 61 | [49, 9, 3]
. 19 | 67 | [64, 3]
. 20 | 71 | [64, 4, 3]
. 21 | 73 | [64, 9]
. 22 | 79 | [64, 9, 4, 2]
. 23 | 83 | [81, 2]
. 24 | 89 | [81, 4, 3, 1]
. 25 | 97 | [81, 16]
PROG
(Haskell)
a257053 n k = a257053_tabf !! (n-1) !! k
a257053_row n = a257053_tabf !! (n-1)
a257053_tabf = map (a256913_row . fromIntegral) a000040_list
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Reinhard Zumkeller, Apr 15 2015
STATUS
approved