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!)
A171057 In the sequence of prime numbers, replace all the '9' digits with '8' and vice versa. 48
2, 3, 5, 7, 11, 13, 17, 18, 23, 28, 31, 37, 41, 43, 47, 53, 58, 61, 67, 71, 73, 78, 93, 98, 87, 101, 103, 107, 108, 113, 127, 131, 137, 138, 148, 151, 157, 163, 167, 173, 178, 191, 181, 183, 187, 188, 211, 223, 227, 228, 233, 238, 241, 251, 257, 263 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

MATHEMATICA

FromDigits[IntegerDigits[#] /. {9 -> p, 8 -> q} /. {p -> 8, q -> 9}] & /@ Prime[Range[60]] (* Vincenzo Librandi, Mar 01 2013, after Harvey P. Dale in similar sequences *)

PROG

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

CROSSREFS

Sequence in context: A117285 A100546 A117094 * A229786 A242122 A074721

Adjacent sequences:  A171054 A171055 A171056 * A171058 A171059 A171060

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 July 14 03:42 EDT 2020. Contains 335716 sequences. (Running on oeis4.)