login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A330125 Positive integers whose digit-power sum is a prime. 0
2, 3, 5, 7, 11, 12, 14, 16, 21, 23, 25, 27, 32, 38, 41, 45, 49, 52, 54, 56, 58, 61, 65, 72, 78, 83, 85, 87, 94, 101, 110, 111, 113, 115, 122, 124, 128, 131, 139, 142, 146, 148, 151, 155, 164, 166, 182, 184, 193, 199, 212, 214, 218, 221, 223, 227, 232, 236, 238, 241 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Let M be an N-digit positive integer with digits (base 10) d_1, d_2, d_3, ..., d_N. If Sum_{i = 1..N} (d_i)^N is prime, then M is part of this sequence.

Numbers k such that A101337(k) is prime.

Both A139749 and A178357 are similar and match the first several terms of this sequence, but the digit powers are different. Additionally, perhaps a more interesting sequence is the subsequence of primes: 2, 3, 5, 7, 11, 23, 41, 61, 83.

LINKS

Table of n, a(n) for n=1..60.

Math Misery, Of Probes and Primes

EXAMPLE

The first four terms are the single-digit primes; a(5) = 11 since 1^2 + 1^2 = 2, which is prime.

MATHEMATICA

Select[Range[250], (d = IntegerDigits[#]; PrimeQ@ Total[d^Length[d]]) &] (* Giovanni Resta, Dec 02 2019 *)

PROG

(PARI) isok(n) = {my(d = digits(n)); isprime(sum(k=1, #d, d[k]^#d)); } \\ Michel Marcus, Dec 05 2019

CROSSREFS

Cf. A101337, A139749, A178357.

Sequence in context: A028834 A070026 A139750 * A139749 A178357 A205667

Adjacent sequences:  A330122 A330123 A330124 * A330126 A330127 A330128

KEYWORD

nonn,base,easy

AUTHOR

Manan Shah, Dec 01 2019

EXTENSIONS

More terms from Giovanni Resta, Dec 02 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 28 12:02 EDT 2020. Contains 334681 sequences. (Running on oeis4.)