OFFSET
1,4
COMMENTS
The ordinal transform of a sequence b(n) is the sequence t(n) = number of values in b(1), ..., b(n) which are equal to b(n).
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..8192
FORMULA
EXAMPLE
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]
PROG
(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])))) }
CROSSREFS
KEYWORD
AUTHOR
Rémy Sigrist, Jul 06 2020
STATUS
approved