OFFSET
2,1
COMMENTS
Finite expansions after the "decimal" point are allowed, but there must be a number before it (so we can have 0.1, but not .01).
LINKS
FORMULA
a(n)=Sum(i=0, n-1) (i^2+i+1)(n-1)!/(n-1-i)!; n>1
EXAMPLE
a(2)=4 because in the binary system only the numbers 0; 1; 0.1; 10 can be written with each digit used at most once (all unnecessary 0's deleted).
MATHEMATICA
f[n_] := Sum[(i^2 + i + 1)(n - 1)!/(n - 1 - i)!, {i, 0, n - 1}]; Table[ f[n], {n, 2, 19}] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Rafael Hofman (mathematics287(AT)yahoo.de), Oct 22 2005
EXTENSIONS
More terms from Robert G. Wilson v, Oct 29 2005
STATUS
approved