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!)
A226567 Numbers n such that 2n+1 is neither a square nor a prime. 1
7, 10, 13, 16, 17, 19, 22, 25, 27, 28, 31, 32, 34, 37, 38, 42, 43, 45, 46, 47, 49, 52, 55, 57, 58, 59, 61, 62, 64, 66, 67, 70, 71, 72, 73, 76, 77, 79, 80, 82, 85, 87, 88, 91, 92, 93, 94, 97, 100, 101, 102, 103, 104, 106, 107, 108, 109, 110, 115, 117, 118, 121 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The natural numbers A000027 that are not in A005097 and A046092.
A226567 = Complement(A000027, A005097, A046092). - Zak Seidov, Jul 08 2013
LINKS
EXAMPLE
n=10; n+1=11; 121-100=21; 21 is not a square nor a prime.
MAPLE
remove(n -> issqr(2*n+1) or isprime(2*n+1), [$1..1000]); # Robert Israel, Jun 16 2017
MATHEMATICA
Select[Range[200], ! PrimeQ[2 # + 1] && ! IntegerQ[Sqrt[2 # + 1]] &] (* T. D. Noe, Jun 13 2013 *)
CROSSREFS
Sequence in context: A153040 A352963 A024888 * A184106 A112414 A329387
KEYWORD
nonn
AUTHOR
César Aguilera, Jun 13 2013
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 16 08:27 EDT 2024. Contains 371698 sequences. (Running on oeis4.)