login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171052 In the sequence of prime numbers, replace all the '9' digits with '3' and vice versa. 3
2, 9, 5, 7, 11, 19, 17, 13, 29, 23, 91, 97, 41, 49, 47, 59, 53, 61, 67, 71, 79, 73, 89, 83, 37, 101, 109, 107, 103, 119, 127, 191, 197, 193, 143, 151, 157, 169, 167, 179, 173, 181, 131, 139, 137, 133, 211, 229, 227, 223, 299, 293, 241, 251, 257, 269 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

MATHEMATICA

FromDigits[IntegerDigits[#] /. {3 -> x, 9 -> y} /. {x -> 9, y -> 3}] & /@ Prime[Range[60]]  (* Harvey P. Dale, Feb 23 2011 *)

PROG

(PARI) a(n)=my(v=[0, 1, 2, 9, 4, 5, 6, 7, 8, 3]); subst(Pol(apply(k->v[k+1], digits(prime(n)))), 'x, 10) \\ Charles R Greathouse IV, Jul 31 2013

CROSSREFS

Sequence in context: A077124 A051491 A253169 * A021342 A069857 A076841

Adjacent sequences:  A171049 A171050 A171051 * A171053 A171054 A171055

KEYWORD

nonn,base,easy

AUTHOR

N. J. A. Sloane and Vincenzo Librandi, Sep 04 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 22 05:58 EST 2018. Contains 299430 sequences. (Running on oeis4.)