cp's OEIS Frontend

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.

Showing 1-4 of 4 results.

A118213 Prime numbers p such that the reversal of all the five numbers p, p^2, p^3, p^4 and p^5 are primes.

Original entry on oeis.org

10282339, 10306511, 32667367, 102615679, 105709573, 107647367, 107776891, 113265953, 198471113, 324580307, 981466259, 982322251, 983075549, 1001315129, 1002340429, 1004157421, 1005362971, 1007811719, 1008125953, 1099887589
Offset: 1

Views

Author

Farideh Firoozbakht, Apr 21 2006

Keywords

Comments

9835884797 is the smallest term such that the reversal of p^6 is also prime. - Hans Havermann, Apr 22 2006

Examples

			p=10282339 is in the sequence because p is prime; reversal(p^k)
for k=1,2,...,5 are respectively 93328201, 129013594627501,
9124210088606665117801, 14286816400200203701819087111 &
996592728588610999557150173929639411 and these five numbers
are primes.
		

Crossrefs

Cf. A118212.

Programs

  • Mathematica
    Do[If[n=Prime[m];PrimeQ[FromDigits[Reverse[IntegerDigits[n]]]] && PrimeQ[FromDigits[Reverse[IntegerDigits[n^2]]]] && PrimeQ [FromDigits[Reverse[IntegerDigits[n^3]]]] && PrimeQ[FromDigits [Reverse[IntegerDigits[n^4]]]] && PrimeQ[FromDigits[Reverse [IntegerDigits[n^5]]]], Print[n]], {m, 56000000}]

A165698 Numbers n such that the reversal of all six numbers n^k, k<7 are primes.

Original entry on oeis.org

110218462, 316673011, 1021262438, 1043674352, 1079713202, 1102184620, 1114558252, 3151003391, 3166730110, 3177732191, 3185342356, 3247705288, 3264209387, 3277762652, 3307639187, 9835884797, 9956850724, 9998454781
Offset: 1

Views

Author

Farideh Firoozbakht, Sep 29 2009

Keywords

Comments

This sequence is infinite because if n is in the sequence then for all
natural numbers m, 10^m*n is in the sequence.
Number of terms up to 12*10^9 is 50.

Crossrefs

A165696 a(n) is the smallest number m such that the n numbers A004086(m^k) (digit reversal of m^k) for 0 < k < n+1 are all primes.

Original entry on oeis.org

2, 14, 325, 3244, 3244, 110218462, 32149366346, 10212002596432
Offset: 1

Views

Author

Farideh Firoozbakht, Sep 29 2009

Keywords

Examples

			Both numbers A004086(14) = 41 and A004086(14^2) = 691 are primes and 14 is the smallest number with this property so a(2) = 14.
		

Crossrefs

Extensions

a(8) from Matthias Baur, Mar 03 2021

A165697 a(n) is the smallest prime p such that all the n numbers reversal(p^k), k

Original entry on oeis.org

2, 37, 3121, 10429, 10282339, 9835884797, 101740496633
Offset: 1

Views

Author

Farideh Firoozbakht, Sep 29 2009

Keywords

Comments

By an interesting approach I was able to find a(7). [From Farideh Firoozbakht, Sep 30 2009]

Examples

			Both numbers reversal(37)=73 & reversal(37^2)=9631 are primes and 37 is the
smallest prime number with this property so a(2)=37.
		

Crossrefs

Extensions

a(7) from Farideh Firoozbakht, Sep 30 2009
Showing 1-4 of 4 results.