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!)
A171039 In the sequence of prime numbers, replace all the '7' digits with '5' and vice versa. 3
2, 3, 7, 5, 11, 13, 15, 19, 23, 29, 31, 35, 41, 43, 45, 73, 79, 61, 65, 51, 53, 59, 83, 89, 95, 101, 103, 105, 109, 113, 125, 131, 135, 139, 149, 171, 175, 163, 165, 153, 159, 181, 191, 193, 195, 199, 211, 223, 225, 229, 233, 239, 241, 271, 275, 263 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
pq[n_]:=Module[{idn=IntegerDigits[n]}, FromDigits[idn/. {7->p, 5->q}/. {p->5, q->7}]]; pq/@Prime[Range[60]] (* Harvey P. Dale, Apr 04 2011 *)
PROG
(PARI) a(n)=my(v=[0, 1, 2, 3, 4, 7, 6, 5, 8, 9]); subst(Pol(apply(k->v[k+1], digits(prime(n)))), 'x, 10) \\ Charles R Greathouse IV, Jul 26 2013
CROSSREFS
Sequence in context: A087387 A275205 A327093 * A063904 A297929 A221858
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 10 19:25 EDT 2024. Contains 375058 sequences. (Running on oeis4.)