The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A338240 Irregular triangle read by rows; the n-th row is the colexicographically earliest finite subset of distinct positive numbers that do not appear in previous rows and summing to a prime number. 2
2, 3, 1, 4, 5, 7, 8, 9, 11, 13, 6, 10, 15, 17, 19, 12, 14, 21, 23, 16, 25, 20, 27, 29, 31, 18, 22, 33, 24, 35, 37, 28, 39, 41, 43, 26, 45, 47, 30, 49, 32, 51, 53, 34, 55, 36, 38, 57, 59, 61, 40, 63, 42, 65, 67, 44, 69, 71, 73, 48, 50, 75, 54, 77, 79, 46, 81, 83 (list; graph; refs; listen; history; text; internal format)
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
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
Cf. A338141 (row sums).
Sequence in context: A071517 A305433 A257681 * A265755 A341130 A330139
KEYWORD
nonn,tabf
AUTHOR
Rémy Sigrist, Oct 18 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 12:41 EDT 2024. Contains 372763 sequences. (Running on oeis4.)