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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171013 In the sequence of prime numbers, replace all digits '1' with '0' and vice versa. 47

%I #19 Mar 31 2017 20:33:12

%S 2,3,5,7,0,3,7,9,23,29,30,37,40,43,47,53,59,60,67,70,73,79,83,89,97,

%T 10,13,17,19,3,27,30,37,39,49,50,57,63,67,73,79,80,90,93,97,99,200,

%U 223,227,229,233,239,240,250,257,263,269,270,277,280,283,293,317

%N In the sequence of prime numbers, replace all digits '1' with '0' and vice versa.

%H Vincenzo Librandi, <a href="/A171013/b171013.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) = A222210(A000040(n)). - _M. F. Hasler_, Feb 13 2013

%t FromDigits[IntegerDigits[#]/.{1->p,0->q}/.{p->0,q->1}]&/@Prime[Range[100]] (* _Vincenzo Librandi_, Jul 06 2012 *)

%o (PARI) a(n)=my(v=[1,0,2,3,4,5,6,7,8,9]);apply(k->v[k+1],digits(prime(n))) \\ _Charles R Greathouse IV_, Jul 16 2013

%Y Cf. A171013-A171016, A175770, A171018-A171057; A222210-A222254.

%K nonn,base,easy

%O 1,1

%A _N. J. A. Sloane_ and _Vincenzo Librandi_, Sep 04 2010

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 April 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)