login
A171044
In the sequence of prime numbers, replace all the '8' digits with '3' and vice versa.
3
2, 8, 5, 7, 11, 18, 17, 19, 28, 29, 81, 87, 41, 48, 47, 58, 59, 61, 67, 71, 78, 79, 38, 39, 97, 101, 108, 107, 109, 118, 127, 181, 187, 189, 149, 151, 157, 168, 167, 178, 179, 131, 191, 198, 197, 199, 211, 228, 227, 229, 288, 289, 241, 251, 257, 268
OFFSET
1,1
LINKS
MATHEMATICA
FromDigits[IntegerDigits[#]/.{8->p, 3->q}/.{p->3, q->8}]&/@Prime[Range[100]] (° Vincenzo Librandi, Mar 11 2013 *)
PROG
(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
CROSSREFS
Sequence in context: A122387 A021039 A247670 * A271886 A182528 A185583
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved