cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A060417 Number of different decimal digits in n-th prime.

This page as a plain text file.
%I A060417 #10 Oct 15 2013 22:30:59
%S A060417 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,
%T A060417 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,
%U A060417 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
%N A060417 Number of different decimal digits in n-th prime.
%H A060417 Reinhard Zumkeller, <a href="/A060417/b060417.txt">Table of n, a(n) for n = 1..10000</a>
%F A060417 Table[Length[Union[IntegerDigits[Prime[w]]]], {w, 1, 1000}]
%e A060417 The maximum is 10. Thus 1234567891 is a prime with 9 and 123456789011 with 10 different decimal digits.
%o A060417 (Haskell)
%o A060417 import Data.List (nub, sort)
%o A060417 a060417 = length . nub . show . a000040
%o A060417 -- _Reinhard Zumkeller_, Apr 08 2012
%Y A060417 Cf. A055642, A097944.
%K A060417 base,easy,nonn
%O A060417 1,6
%A A060417 _Labos Elemer_, Apr 05 2001