login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138666 Numbers n such that every sum of consecutive positive numbers ending in n is not prime. 2
1, 8, 14, 18, 20, 25, 26, 28, 32, 33, 35, 38, 39, 44, 46, 48, 50, 56, 58, 60, 62, 63, 65, 68, 72, 74, 77, 78, 80, 81, 85, 86, 88, 92, 93, 94, 95, 98, 102, 104, 105, 108, 110, 111, 116, 118, 119, 122, 123, 124, 125, 128, 130, 133, 134, 138, 140, 143, 144, 145, 146, 148 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Also numbers n such that all terms in row n of A087401 are not prime. Also the index of the triangular numbers in A076768. See A087572 for the least prime, if it exists. David Wasserman points out (in A087572) that n is in this sequence if and only if n and 2n-1 are both not prime. This sequence is infinite because 2k^2 is a term for all k>1.

LINKS

T. D. Noe, Table of n, a(n) for n=1..1000

EXAMPLE

8 is in this sequence because 8, 15=7+8, 21=6+7+8, 26=5+6+7+8, 30=4+5+6+7+8, 33=3+4+5+6+7+8, 35=2+3+4+5+6+7+8 and 36=1+2+3+4+5+6+7+8 are all composite.

MATHEMATICA

Select[Range[200], !PrimeQ[ # ] && !PrimeQ[2#-1] &]

CROSSREFS

Sequence in context: A192045 A084021 A114456 * A072835 A096229 A112277

Adjacent sequences:  A138663 A138664 A138665 * A138667 A138668 A138669

KEYWORD

nice,nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), Mar 26 2008

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 14:17 EST 2012. Contains 206035 sequences.