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!)
A335731 Bemirps that also interpret 2 and 5 as upside-down forms of each other, assuming a digital font. 0
1061, 1091, 1601, 1901, 10061, 10091, 16001, 19001, 106861, 109891, 110651, 110921, 120121, 121021, 121921, 129011, 129121, 150151, 151051, 151651, 156011, 156151, 168601, 198901, 1022591, 1026521, 1028011, 1055261, 1058011, 1059251, 1069291, 1096561, 1102891, 1105861, 1106881, 1108201, 1108501, 1109881, 1111651 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
110651 is in the list as its upside-down form 110921, and its emirp 156011, and the emirp of its upside-down form 129011, are all primes and uniquely different numbers.
PROG
(Python)
from sympy.ntheory import isprime as isp
def ip(pp):
rr = []
for qq in pp:
if qq=="0" or qq=="1" or qq=="8":
rr.append(qq)
elif qq=="2":
rr.append("5")
elif qq=="5":
rr.append("2")
elif qq=="6":
rr.append("9")
elif qq=="9":
rr.append("6")
return "".join(rr)
for bb in range(1, 10000000):
if isp(bb):
bb = str(bb)
if ("7" not in bb) and ("4" not in bb) and ("3" not in bb):
cc = bb[::-1]
dd = ip(bb)
ee = ip(cc)
if bb!=cc and dd!=ee and bb!=dd and bb!=ee and cc!=dd and cc!=ee and isp(int(cc)) and isp(int(dd)) and isp(int(ee)):
print(bb)
CROSSREFS
Normal bemirps are defined in A048895.
Sequence in context: A237795 A276355 A294164 * A048895 A020374 A142822
KEYWORD
base,nonn
AUTHOR
Ray G. Opao, Jun 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 April 19 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)