The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A111177 Number of base n numbers in which each digit appears at most once (all unnecessary 0's deleted). 0
4, 21, 130, 913, 7176, 62629, 602806, 6356865, 72994348, 907497301, 12152572554, 174476220241, 2674434002800, 43603430324133, 753581024080126, 13763517571878529, 264919276238885076, 5360264479811601685 (list; graph; refs; listen; history; text; internal format)
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
Cf. A001339.
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
Sequence in context: A371430 A232956 A234268 * A141052 A058308 A078591
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 09:58 EDT 2024. Contains 373126 sequences. (Running on oeis4.)