This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A058994 #15 Mar 17 2025 22:23:29 %S A058994 1,12,24,225,392,819,1201,1645,1775,37578 %N A058994 Numbers m such that 7^m reversed is prime. %t A058994 Do[ If[ PrimeQ[ ToExpression[ StringReverse[ ToString[7^n] ] ] ], Print[n] ], {n, 1, 2500} ] %o A058994 (Python) %o A058994 from sympy import isprime %o A058994 k, m, A058994_list = 1, 7, [] %o A058994 while k <= 10**3: %o A058994 if isprime(int(str(m)[::-1])): %o A058994 A058994_list.append(k) %o A058994 k += 1 %o A058994 m *= 7 # _Chai Wah Wu_, Mar 09 2021 %o A058994 (PARI) isok(m) = isprime(fromdigits(Vecrev(digits(7^m)))) \\ _Mohammed Yaseen_, Jul 20 2022 %Y A058994 Cf. A059208, A071584. %Y A058994 Numbers m such that k^m reversed is prime: A057708 (k=2), A350441 (k=4), A058993 (k=5), this sequence (k=7), A350442 (k=8), A058995 (k=13). %K A058994 nonn,base,more %O A058994 1,2 %A A058994 _Robert G. Wilson v_, Jan 17 2001 %E A058994 a(10) from _Michael S. Branicky_, Mar 16 2025