The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A095824 Numbers k such that k + largest digit of k is prime. 0
1, 10, 21, 43, 54, 61, 65, 72, 76, 81, 92, 94, 98, 100, 152, 161, 172, 174, 183, 185, 190, 221, 230, 252, 263, 265, 270, 274, 276, 285, 298, 310, 343, 354, 361, 372, 376, 381, 392, 452, 461, 472, 483, 490, 494, 504, 542, 552, 563, 565, 570, 585, 590, 592, 598 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) ~ n log n. - Charles R Greathouse IV, Jun 13 2017
EXAMPLE
54 is a term because 54 + 5 = 59, a prime.
MATHEMATICA
Select[Range[600], PrimeQ[#+Max[IntegerDigits[#]]]&] (* Harvey P. Dale, May 19 2016 *)
PROG
(PARI) is(n)=isprime(vecmax(digits(n))+n) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A054055.
Sequence in context: A089584 A192743 A280435 * A086225 A240994 A014007
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Jul 10 2004
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 June 2 14:22 EDT 2024. Contains 373040 sequences. (Running on oeis4.)