login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A060417
Number of different decimal digits in n-th prime.
2
1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 2, 3, 2, 3, 3, 3, 2, 3, 3, 3, 3, 3, 2, 2, 3, 3, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 2, 2, 3, 2, 2, 3, 3, 2, 3, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 2, 3, 2, 2, 3, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3, 3, 3, 3, 2, 3, 3, 3
OFFSET
1,6
LINKS
FORMULA
Table[Length[Union[IntegerDigits[Prime[w]]]], {w, 1, 1000}]
EXAMPLE
The maximum is 10. Thus 1234567891 is a prime with 9 and 123456789011 with 10 different decimal digits.
PROG
(Haskell)
import Data.List (nub, sort)
a060417 = length . nub . show . a000040
-- Reinhard Zumkeller, Apr 08 2012
CROSSREFS
Sequence in context: A077429 A204553 A214455 * A097944 A037203 A032556
KEYWORD
base,easy,nonn
AUTHOR
Labos Elemer, Apr 05 2001
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 20 15:34 EDT 2024. Contains 376072 sequences. (Running on oeis4.)