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.

A171044 In the sequence of prime numbers, replace all the '8' digits with '3' and vice versa.

This page as a plain text file.
%I A171044 #14 Apr 22 2025 22:23:34
%S A171044 2,8,5,7,11,18,17,19,28,29,81,87,41,48,47,58,59,61,67,71,78,79,38,39,
%T A171044 97,101,108,107,109,118,127,181,187,189,149,151,157,168,167,178,179,
%U A171044 131,191,198,197,199,211,228,227,229,288,289,241,251,257,268
%N A171044 In the sequence of prime numbers, replace all the '8' digits with '3' and vice versa.
%H A171044 Vincenzo Librandi, <a href="/A171044/b171044.txt">Table of n, a(n) for n = 1..1000</a>
%t A171044 FromDigits[IntegerDigits[#]/.{8->p, 3->q}/.{p->3, q->8}]&/@Prime[Range[100]] (* _Vincenzo Librandi_, Mar 11 2013 *)
%o A171044 (PARI) a(n)=my(v=[0,1,2,8,4,5,6,7,3,9]);subst(Pol(apply(k->v[k+1], digits(prime(n)))),'x,10) \\ _Charles R Greathouse IV_, Jul 31 2013
%K A171044 nonn,base,easy
%O A171044 1,1
%A A171044 _N. J. A. Sloane_ and _Vincenzo Librandi_, Sep 04 2010