login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171034 In the sequence of prime numbers, replace all the '7' digits with '0' and vice versa. 3
2, 3, 5, 0, 11, 13, 10, 19, 23, 29, 31, 30, 41, 43, 40, 53, 59, 61, 60, 1, 3, 9, 83, 89, 90, 171, 173, 170, 179, 113, 120, 131, 130, 139, 149, 151, 150, 163, 160, 103, 109, 181, 191, 193, 190, 199, 211, 223, 220, 229, 233, 239, 241, 251, 250, 263, 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[#]/.{7->p, 0->q}/.{p->0, q->7}]&/@Prime[Range[100]] (* Vincenzo Librandi, Apr 07 2013 *)

PROG

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

CROSSREFS

Sequence in context: A126047 A023049 A240979 * A062007 A031067 A300392

Adjacent sequences:  A171031 A171032 A171033 * A171035 A171036 A171037

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 January 26 13:02 EST 2022. Contains 350598 sequences. (Running on oeis4.)