login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A179932 Number of distinct positive integers that can be formed with the decimal digits of n. 0
1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 2, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, 2, 4, 4, 4, 4, 4, 4, 2, 4, 4, 4, 2, 4, 4, 4, 4, 4, 2, 4, 4, 4, 4, 2, 4, 4, 4, 4, 2, 4, 4, 4, 4, 4, 2, 4, 4, 4, 2, 4, 4, 4, 4, 4, 4, 2, 4, 4, 2, 4, 4, 4, 4, 4, 4, 4, 2, 4, 2, 4, 4, 4, 4, 4, 4, 4, 4, 2, 3, 5, 10, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,10

LINKS

Table of n, a(n) for n=1..103.

EXAMPLE

a(1) = 1 because there is only one number that can be formed with the digits in 1.

a(10) = 2 because the digits in 10 can be used to make 0, 1, 01, and 10, but only 1 and 10 are both nonzero and unique (obviously, 01=1).

MATHEMATICA

Table[Length[Union[FromDigits/@Flatten[Permutations/@Flatten[ Table[ Partition[ IntegerDigits[t], n, 1], {n, IntegerLength[t]}], 1], 1]/.(0-> Nothing)]], {t, 110}] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Sep 21 2016 *)

CROSSREFS

Sequence in context: A263991 A065285 A302437 * A267649 A071805 A063511

Adjacent sequences:  A179929 A179930 A179931 * A179933 A179934 A179935

KEYWORD

nonn,base

AUTHOR

Dominick Cancilla, Aug 02 2010

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 25 07:56 EDT 2020. Contains 334585 sequences. (Running on oeis4.)