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 A171051 #14 Mar 31 2017 00:46:55 %S A171051 9,3,5,7,11,13,17,12,93,92,31,37,41,43,47,53,52,61,67,71,73,72,83,82, %T A171051 27,101,103,107,102,113,197,131,137,132,142,151,157,163,167,173,172, %U A171051 181,121,123,127,122,911,993,997,992,933,932,941,951,957,963 %N A171051 In the sequence of prime numbers, replace all the '9' digits with '2' and vice versa. %H A171051 Vincenzo Librandi, <a href="/A171051/b171051.txt">Table of n, a(n) for n = 1..1000</a> %t A171051 FromDigits[IntegerDigits[#] /. {9 -> p, 2 -> q} /. {p -> 2, q -> 9}] & /@ Prime[Range[100]] (* _Harvey P. Dale_, Apr 11 2012 *) %o A171051 (PARI) a(n)=my(v=[0,1,9,3,4,5,6,7,8,2]);subst(Pol(apply(k->v[k+1], digits(prime(n)))),'x,10) \\ _Charles R Greathouse IV_, Jul 31 2013 %K A171051 nonn,base,easy %O A171051 1,1 %A A171051 _N. J. A. Sloane_ and _Vincenzo Librandi_, Sep 04 2010