login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A043536 Number of distinct base-9 digits of n. 3
1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 3, 3, 3, 3, 3, 3, 3, 2, 1, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 3, 3, 3, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,9

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..66430

EXAMPLE

As 731 = 1*(9^3) + 0*(9^2) + 0*(9^1) + 2*(9^0), it is written in base 9 (A007095) as "1002". There are three kinds of digits present, thus a(731) = 3. - Antti Karttunen, Dec 22 2017

MATHEMATICA

Table[Count[DigitCount[n, 9], +_?(#>0&)], {n, 100}] (* Harvey P. Dale, Apr 30 2015 *)

PROG

(PARI) A043536(n) = length(vecsort(digits(n, 9), , 8)); \\ Antti Karttunen, Dec 22 2017

CROSSREFS

Cf. A007095, A043283, A044931, A044940, A044949.

Sequence in context: A276034 A111626 A297777 * A043561 A297778 A043562

Adjacent sequences:  A043533 A043534 A043535 * A043537 A043538 A043539

KEYWORD

nonn,base

AUTHOR

Clark Kimberling

EXTENSIONS

More terms from Antti Karttunen, Dec 22 2017

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 March 21 04:59 EDT 2019. Contains 321364 sequences. (Running on oeis4.)