A308468 "Trapezoidal numbers": numbers k such that the integers from 1 to k can be arranged in a trapezoid of H lines containing respectively L, L-1, L-2, ..., L-H+1 numbers from top to bottom. The rule is that from the second line, each integer is equal to the absolute value of the difference between the two numbers above it.
3, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 23, 24, 25, 27, 29, 30, 31, 33, 35, 36, 37, 39, 41, 42, 43, 45, 47, 48, 49, 51, 53
Offset: 1
Examples
for k = 9: 1 9 3 7 5 8 6 4 2 ------------------------------------------------------ for k = 10: 8 1 10 6 7 9 4 2 5 3
Links
- "Diophante", A352. Les nombres trapéziens, Sep. 2014 (in French).
- Bert Dobbelaere, C++ program
- Bernard Schott, Examples of numbers in trapezoid
Crossrefs
Cf. A165513.
Extensions
a(25)-a(37) from Bert Dobbelaere, Jul 14 2019
Comments