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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,6

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

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

Cf. A055642, A097944.

Sequence in context: A077429 A204553 A214455 * A097944 A037203 A032556

Adjacent sequences:  A060414 A060415 A060416 * A060418 A060419 A060420

KEYWORD

base,easy,nonn

AUTHOR

Labos Elemer, Apr 05 2001

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 October 19 11:09 EDT 2019. Contains 328216 sequences. (Running on oeis4.)