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!)
A109289 Composite numbers which are not of the form p*q + 1, where p and q are distinct primes. 3
4, 6, 8, 9, 10, 12, 14, 18, 20, 21, 24, 25, 26, 28, 30, 32, 33, 38, 42, 44, 45, 46, 48, 49, 50, 51, 54, 55, 57, 60, 62, 64, 65, 68, 69, 72, 74, 76, 77, 80, 81, 82, 84, 85, 90, 91, 93, 98, 99, 100, 102, 104, 105, 106, 108, 110, 111, 114, 115, 117, 118, 121, 122, 125, 126, 128 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[2, 130], ! (PrimeQ[ # ] || (Plus @@ Last /@ FactorInteger[ # - 1] == 2 && Length[FactorInteger[ # - 1]] == 2)) &] (* Ray Chandler, Aug 25 2005 *)
fQ[n_] := Last /@ FactorInteger[n] != {1, 1}; Select[ Range[2, 128], !PrimeQ[ # ] && fQ[ # - 1] &] (* Robert G. Wilson v *)
CROSSREFS
Sequence in context: A227180 A129930 A128510 * A066071 A306307 A355170
KEYWORD
easy,nonn
AUTHOR
Giovanni Teofilatto, Aug 20 2005
EXTENSIONS
Extended by Robert G. Wilson v and Ray Chandler, Aug 25 2005
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 May 13 21:51 EDT 2024. Contains 372523 sequences. (Running on oeis4.)