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!)
A169643 Numbers n such that neither composite(n)-+1 is composite. 1
1, 2, 6, 10, 19, 28, 42, 51, 75, 79, 104, 114, 138, 148, 152, 178, 187, 212, 221, 247, 278, 338, 348, 372, 423, 465, 490, 504, 525, 539, 669, 679, 683, 709, 729, 848, 858, 873, 883, 909, 961, 1028, 1071, 1080, 1089, 1104, 1202, 1221, 1247, 1251, 1354, 1363 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(n) = A066246(A014574(n)). [From Reinhard Zumkeller, Apr 06 2010]
LINKS
EXAMPLE
a(1)=1 because composite(1)-1=3=prime and composite(1)+1=5=prime.
MATHEMATICA
Position[Select[Range[2000], CompositeQ], _?(AllTrue[#+{1, -1}, PrimeQ]&), 1, Heads->False]// Flatten (* Harvey P. Dale, Jan 16 2024 *)
CROSSREFS
Sequence in context: A054273 A127567 A360420 * A005993 A028247 A209535
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected by Ray Chandler, Apr 05 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 April 24 15:18 EDT 2024. Contains 371960 sequences. (Running on oeis4.)