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!)
A144591 Composites of the form smallest digit of n + prime(n). 1
8, 16, 24, 27, 32, 32, 38, 42, 44, 48, 54, 60, 62, 68, 74, 81, 85, 91, 99, 105, 111, 128, 133, 140, 142, 152, 154, 160, 166, 170, 180, 183, 194, 201, 203, 215, 231, 234, 244, 255, 262, 268, 274, 276, 282, 284, 295, 310, 315, 318, 323, 343, 354, 361, 370, 377 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Prime(1) = 2 and 1 + 2 = 3 (prime);
prime(2) = 3 and 2 + 3 = 5 (prime);
prime(3) = 5 and 3 + 5 = 8 (composite), so a(1) = 8;
prime(4) = 7 and 4 + 7 = 11 (prime);
prime(5) = 11 and 5 + 11 = 16 (composite), so a(2) = 16; etc.
MAPLE
A054054 := proc(n) min(op(convert(n, base, 10)) ) ; end proc: A144591 := proc(n) p := ithprime(n) ; sd := A054054(n) ; if not isprime(p+sd) then printf("%d, ", p+sd) ; end if; end proc: seq(A144591(n), n=1..400) ; # R. J. Mathar, May 01 2010
MATHEMATICA
Select[Table[Prime[n]+Min[IntegerDigits[n]], {n, 80}], CompositeQ] (* The program uses the CompositeQ function from Mathematica version 10 *) (* Harvey P. Dale, Nov 15 2015 *)
CROSSREFS
Sequence in context: A325261 A333195 A229972 * A078131 A122612 A078130
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Corrected (369 replaced by 370) by R. J. Mathar, May 01 2010
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 July 21 04:02 EDT 2024. Contains 374463 sequences. (Running on oeis4.)