OFFSET
1,1
COMMENTS
This sequence is a permutation of the natural numbers.
Each prime number appears alone on some row.
Sequence A338141 gives row sums.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Scatterplot of (n, a(n)-n) for n = 1..10000
Rémy Sigrist, PARI program for A338240
EXAMPLE
Triangle begins:
1: [2]
2: [3]
3: [1, 4]
4: [5]
5: [7]
6: [8, 9]
7: [11]
8: [13]
9: [6, 10, 15]
10: [17]
11: [19]
12: [12, 14, 21]
13: [23]
14: [16, 25]
15: [20, 27]
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Rémy Sigrist, Oct 18 2020
STATUS
approved