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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171035 In the sequence of prime numbers, replace all the '7' digits with '1' and vice versa. 3
2, 3, 5, 1, 77, 73, 71, 79, 23, 29, 37, 31, 47, 43, 41, 53, 59, 67, 61, 17, 13, 19, 83, 89, 91, 707, 703, 701, 709, 773, 721, 737, 731, 739, 749, 757, 751, 763, 761, 713, 719, 787, 797, 793, 791, 799, 277, 223, 221, 229, 233, 239, 247, 257, 251, 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[#]/.{7->p, 1->q}/.{p->1, q->7}]&/@Prime[Range[100]] (* Vincenzo Librandi, Apr 07 2013 *)

PROG

(PARI) a(n)=my(v=[0, 7, 2, 3, 4, 5, 6, 1, 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: A178763 A111141 A069111 * A094122 A280185 A082117

Adjacent sequences:  A171032 A171033 A171034 * A171036 A171037 A171038

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 December 6 06:34 EST 2019. Contains 329784 sequences. (Running on oeis4.)