A357443 Inventory sequence, second version: record where the 1's, 2's, etc. are located starting with a(1) = 1, a(2) = 1.
1, 1, 1, 2, 1, 2, 3, 4, 1, 2, 3, 5, 4, 6, 7, 8, 1, 2, 3, 5, 9, 4, 6, 10, 7, 11, 8, 13, 12, 14, 15, 16, 1, 2, 3, 5, 9, 17, 4, 6, 10, 18, 7, 11, 19, 8, 13, 22, 12, 20, 14, 23, 15, 25, 16, 27, 21, 24, 26, 29, 28, 30, 31, 32, 1, 2, 3, 5, 9, 17, 33, 4, 6, 10, 18, 34
Offset: 1
Examples
As an irregular triangle, the sequence begins: 1, 1, 1, 2, 1, 2, 3, 4, 1, 2, 3, 5, 4, 6, 7, 8, 1, 2, 3, 5, 9, 4, 6, 10, 7, 11, 8, 13, 12, 14, 15, 16, 1, 2, 3, 5, 9, 17, 4, 6, 10, 18, 7, 11, 19, 8, 13, 22, 12, 20, 14, 23, 15, 25, 16, 27, 21, 24, 26, 29, 28, 30, 31, 32, ...
Formula
a(n) = A356784(n-1) + 1. - Rémy Sigrist, Nov 08 2022
Extensions
More terms from Rémy Sigrist, Nov 08 2022
Comments