OFFSET
1,3
COMMENTS
This assumes that the word "digit" in the definition in the Wimblik web page is changed to "number".
LINKS
Quoss Wimblik, A new numeral system
MAPLE
# b[n] = number of i <= n such that a[i]=a[n].
FREQ:=proc(a) local b, i, c, n, t1:
if whattype(a) <> list then RETURN([]); fi:
b:=[];
for n from 1 to nops(a) do
c:=0; t1:=a[n];
for i from 1 to n do if a[i]=t1 then c:=c+1; fi; od:
b:=[op(b), c];
od;
RETURN(b);
end:
# read A053615 as a list called s1
FREQ(s1);
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Nov 22 2011
STATUS
approved