login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171050 In the sequence of prime numbers, replace all the '9' digits with '1' and vice versa. 3
2, 3, 5, 7, 99, 93, 97, 91, 23, 21, 39, 37, 49, 43, 47, 53, 51, 69, 67, 79, 73, 71, 83, 81, 17, 909, 903, 907, 901, 993, 927, 939, 937, 931, 941, 959, 957, 963, 967, 973, 971, 989, 919, 913, 917, 911, 299, 223, 227, 221, 233, 231, 249, 259, 257, 263 (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[#] /. {9 -> p, 1 -> q} /. {p -> 1, q -> 9}] & /@ Prime[Range[100]] (* Vincenzo Librandi, Apr 07 2013 *)

PROG

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

CROSSREFS

Sequence in context: A289755 A318202 A076406 * A092909 A080437 A092908

Adjacent sequences:  A171047 A171048 A171049 * A171051 A171052 A171053

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 04:15 EDT 2020. Contains 334859 sequences. (Running on oeis4.)