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!)
A165432 Numbers n such that the concatenation of n^0 n^1 n^2 n^3 n^4 is prime. 1
23, 51, 61, 113, 137, 179, 183, 203, 217, 229, 271, 273, 299, 307, 317, 331, 361, 399, 449, 467, 481, 633, 699, 701, 713, 797, 819, 833, 947, 993, 1021, 1039, 1073, 1117, 1187, 1193, 1269, 1371, 1407, 1413, 1427, 1437, 1451, 1453, 1467, 1469, 1511, 1521 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Example 23 is in the list because the concatenation of 23^0 23^1 23^2 23^3 23^4 is 12352912167279841 and this number is prime
MATHEMATICA
Select[Range[2000], PrimeQ[FromDigits[Flatten[{IntegerDigits[#^0], IntegerDigits[#^1], IntegerDigits[#^2], IntegerDigits[#^3], IntegerDigits[#^4]}]]] &]
Select[Range[2000], PrimeQ[FromDigits[Flatten[IntegerDigits/@(#^Range[0, 4])]]]&] (* Harvey P. Dale, Dec 18 2019 *)
CROSSREFS
Sequence in context: A185187 A157095 A281266 * A067625 A140689 A172034
KEYWORD
nonn,base
AUTHOR
Claudio Meller, Jul 05 2011
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 27 21:44 EDT 2024. Contains 372020 sequences. (Running on oeis4.)