Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #10 Mar 31 2017 00:54:37
%S 2,3,5,7,88,83,87,89,23,29,38,37,48,43,47,53,59,68,67,78,73,79,13,19,
%T 97,808,803,807,809,883,827,838,837,839,849,858,857,863,867,873,879,
%U 818,898,893,897,899,288,223,227,229,233,239,248,258,257,263
%N In the sequence of prime numbers, replace all the '8' digits with '1' and vice versa.
%H Vincenzo Librandi, <a href="/A171042/b171042.txt">Table of n, a(n) for n = 1..1000</a>
%t FromDigits[IntegerDigits[#]/.{8->p, 1->q}/.{p->1, q->8}]&/@Prime[Range[100]] (* _Vincenzo Librandi_, Mar 11 2013 *)
%o (PARI) a(n)=my(v=[0,8,2,3,4,5,6,7,1,9]);subst(Pol(apply(k->v[k+1], digits(prime(n)))),'x,10) \\ _Charles R Greathouse IV_, Jul 26 2013
%K nonn,base,easy
%O 1,1
%A _N. J. A. Sloane_ and _Vincenzo Librandi_, Sep 04 2010