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!)
A186279 Numbers n such that the sum of the digits of n plus the sum of the digits of n^2 plus the sum of the digits of n^3 is prime. 4
1, 10, 26, 41, 44, 47, 62, 68, 89, 100, 104, 119, 125, 128, 131, 134, 143, 146, 155, 161, 167, 182, 188, 215, 224, 233, 242, 257, 260, 269, 275, 293, 311, 317, 323, 359, 368, 371, 377, 386, 401, 404, 410, 422, 431, 437, 440, 449, 452, 470, 494, 518, 521, 527, 545 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Contains A011557.  Except for those, all terms == 2 (mod 3). - Robert Israel, Jul 28 2020

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

MAPLE

filter:= n -> isprime(convert(convert(n, base, 10), `+`)+convert(convert(n^2, base, 10), `+`)+convert(convert(n^3, base, 10), `+`)):

select(filter, [$1..1000]); # Robert Israel, Jul 28 2020

MATHEMATICA

Select[Range[1000], PrimeQ[Total[Flatten[IntegerDigits[#^{1, 2, 3}]]]]&] (* Harvey P. Dale, Jul 18 2015 *)

CROSSREFS

Cf. A011557, A186278.

Sequence in context: A071348 A055042 A044071 * A054315 A113770 A223451

Adjacent sequences:  A186276 A186277 A186278 * A186280 A186281 A186282

KEYWORD

nonn,easy,base

AUTHOR

Harvey P. Dale, Feb 16 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 22:00 EDT 2021. Contains 348095 sequences. (Running on oeis4.)