The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A333422 Factorial base emirps: prime numbers whose factorial base reversal is a different prime. 2
29, 37, 137, 181, 733, 743, 769, 977, 1013, 1031, 1033, 1049, 5107, 5119, 5171, 5179, 5233, 5273, 5297, 5323, 5387, 5393, 5399, 5407, 5437, 5441, 5449, 5471, 5477, 5483, 6571, 6607, 6689, 6691, 6709, 6719, 6733, 6763, 6803, 6823, 6829, 6907, 6947, 6949, 40343 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
29 is a term since it is a prime number and its representation in factorial base is 1021, whose reversal, 1201, is the factorial base representation of another prime number, 37.
MATHEMATICA
max = 8; bases = Range[max, 2, -1]; nmax = max! - 1; emirpQ[n_] := PrimeQ[n] && Module[{d = IntegerDigits[n, MixedRadix[bases]]}, r = Reverse @ d; IntegerDigits[(m = FromDigits[r, MixedRadix[bases]]), MixedRadix[bases]] == r && m != n && PrimeQ[m]]; Select[Range[nmax], emirpQ]
CROSSREFS
Sequence in context: A341174 A167470 A152865 * A108272 A121999 A069530
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, Mar 20 2020
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 June 1 08:45 EDT 2024. Contains 373015 sequences. (Running on oeis4.)