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.

A052228 Automorphic primes: p such that p^p ends with the digits of p.

Original entry on oeis.org

5, 11, 31, 41, 61, 71, 101, 151, 193, 251, 401, 499, 557, 601, 701, 751, 1151, 1201, 1249, 1301, 1601, 1693, 1801, 1901, 1951, 2351, 2551, 2801, 3001, 3301, 3701, 4001, 4201, 4751, 4801, 4951, 4999, 5101, 5351, 5501, 5701, 5801, 6101, 6151, 6301, 6551
Offset: 1

Views

Author

G. L. Honaker, Jr., Jan 30 2000

Keywords

Examples

			11 is in the sequence because 11 is prime and 11^11=285311670611 ends in 11.
		

Crossrefs

Cf. A003226.

Programs

  • Mathematica
    Select[ Prime@ Range@863, PowerMod[ #, #, 10^Floor[Log[10, # ] + 1]] == # &] (* Robert G. Wilson v Sep 25 2006 *)
    Select[Prime[Range[850]],PowerMod[#,#,10^IntegerLength[#]]==#&] (* Harvey P. Dale, Mar 05 2015 *)

Extensions

More terms from Jason Earls, Jan 02 2002