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.
%I A171042 #10 Mar 31 2017 00:54:37 %S A171042 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 A171042 97,808,803,807,809,883,827,838,837,839,849,858,857,863,867,873,879, %U A171042 818,898,893,897,899,288,223,227,229,233,239,248,258,257,263 %N A171042 In the sequence of prime numbers, replace all the '8' digits with '1' and vice versa. %H A171042 Vincenzo Librandi, <a href="/A171042/b171042.txt">Table of n, a(n) for n = 1..1000</a> %t A171042 FromDigits[IntegerDigits[#]/.{8->p, 1->q}/.{p->1, q->8}]&/@Prime[Range[100]] (* _Vincenzo Librandi_, Mar 11 2013 *) %o A171042 (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 A171042 nonn,base,easy %O A171042 1,1 %A A171042 _N. J. A. Sloane_ and _Vincenzo Librandi_, Sep 04 2010