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!)
A165972 Nonprimes k such that the sum of the smallest and largest divisor of k is prime. 1
1, 4, 6, 10, 12, 16, 18, 22, 28, 30, 36, 40, 42, 46, 52, 58, 60, 66, 70, 72, 78, 82, 88, 96, 100, 102, 106, 108, 112, 126, 130, 136, 138, 148, 150, 156, 162, 166, 172, 178, 180, 190, 192, 196, 198, 210, 222, 226, 228, 232, 238, 240, 250, 256, 262, 268, 270, 276 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

n-(-1)^n is prime.

Largest nonprime<prime(n+1) or largest nonprime<n-th odd prime. [From Juri-Stepan Gerasimov, Oct 29 2009]

LINKS

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

FORMULA

A006093 \ {2}.

EXAMPLE

k=1 is in the sequence because 1+1=2 is prime. k=4 is in the sequence because 1+4=5 is prime.

MATHEMATICA

Select[Range[300], !PrimeQ[#]&&With[{d=Divisors[#]}, PrimeQ[d[[1]]+ d[[-1]]]]&] (* Harvey P. Dale, Oct 01 2015 *)

CROSSREFS

Cf. A000040, A006093, A018252.

Sequence in context: A296655 A310577 A310578 * A156037 A089079 A310579

Adjacent sequences:  A165969 A165970 A165971 * A165973 A165974 A165975

KEYWORD

nonn,less

AUTHOR

Juri-Stepan Gerasimov, Oct 02 2009, Oct 14 2009

EXTENSIONS

Entries checked by R. J. Mathar, Oct 10 2009

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 February 25 08:33 EST 2021. Contains 341606 sequences. (Running on oeis4.)