A327616 Irregular table read by rows; the first row contains a single 1; for any n > 1, row n+1 corresponds to the ordinal transform of the terms in rows 1..n.
1, 1, 1, 2, 1, 2, 3, 1, 1, 2, 3, 1, 4, 2, 1, 5, 1, 2, 3, 1, 4, 2, 1, 5, 6, 3, 2, 7, 1, 4, 8, 1, 1, 2, 3, 1, 4, 2, 1, 5, 6, 3, 2, 7, 1, 4, 8, 1, 9, 5, 3, 10, 2, 6, 11, 2, 1, 4, 7, 1, 12, 3, 1, 13, 1, 2, 3, 1, 4, 2, 1, 5, 6, 3, 2, 7, 1, 4, 8, 1, 9, 5, 3, 10, 2
Offset: 1
Examples
Triangle begins: 1: [1] 2: [1] 3: [1, 2] 4: [1, 2, 3, 1] 5: [1, 2, 3, 1, 4, 2, 1, 5] 6: [1, 2, 3, 1, 4, 2, 1, 5, 6, 3, 2, 7, 1, 4, 8, 1]
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..8192
Programs
-
PARI
{ for (n=1, #a=vector(85), print1 (a[n]=if (n==1, a[n]=1, a[n]=o[a[k++]]++)", "); if (hammingweight(n)==1, k=0; o=vector(vecmax(a[1..n])))) }
Comments