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

 


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
OFFSET
1,1
LINKS
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: A100546 A359373 A117094 * A229786 A242122 A074721
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 22 22:25 EDT 2024. Contains 376140 sequences. (Running on oeis4.)