login
A394409
Pascal-like triangle read by rows: top entry is 2; thereafter fill in entries from top to bottom, alternating between left to right and right to left, with the smallest number that is not yet in the sequence and has a common factor with any earlier entry that is adjacent to it in the triangle.
1
2, 4, 6, 3, 12, 8, 10, 14, 18, 9, 15, 21, 24, 16, 20, 5, 30, 22, 28, 35, 25, 40, 45, 42, 26, 32, 50, 55, 11, 44, 34, 36, 38, 48, 54, 46, 23, 69, 27, 57, 60, 51, 66, 33, 77, 7, 63, 39, 72, 68, 76, 78, 75, 115, 92, 52, 70, 65, 80, 56, 58, 62, 84, 81, 105, 49, 91
OFFSET
1,1
COMMENTS
This is a variation of A397219 where the rows are filled from left to right and then right to left as the triangle is filled from the top. See that sequence for further details.
It is conjectured that every number greater than 1 appears.
LINKS
Scott R. Shannon, Image of the first 1000 terms on the triangle. The number colors are graduated across the spectrum, from red to violet, to show their relative size.
EXAMPLE
The triangle begins:
2,
4, 6,
8, 12, 3,
10, 14, 18, 9,
20, 16, 24, 21, 15,
5, 30, 22, 28, 35, 25,
55, 50, 32, 26, 42, 45, 40,
11, 44, 34, 36, 38, 48, 54, 46,
77, 33, 66, 51, 60, 57, 27, 69, 23
.
CROSSREFS
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Jun 20 2026
STATUS
approved