Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A107846
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A107846 Number of duplicate digits of n. +0
2
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0 (list; graph; listen)
OFFSET

0,1

FORMULA

a(n) = A055642(n) - A043537(n).

EXAMPLE

a(11) = 1 because 11 has two total decimal digits but only one distinct digit (1) and 2-1=1.

Similarly, a(3653135) = 7 (total digits) - 4 (distinct digits: 1,3,5,6) = 3 (There are three duplicate digits here, namely, 3, 3 and 5).

CROSSREFS

Cf. A055642 (Total decimal digits of n), A043537 (Distinct decimal digits of n).

Sequence in context: A088918 A011726 A070109 this_sequence A065202 A045701 A011725

Adjacent sequences: A107843 A107844 A107845 this_sequence A107847 A107848 A107849

KEYWORD

base,easy,nonn

AUTHOR

Rick L. Shepherd (rshepherd2(AT)hotmail.com), May 24, 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research