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!)
A153045 Numbers k such that 2*k-11 is not a prime. 4
10, 13, 16, 18, 19, 22, 23, 25, 28, 30, 31, 33, 34, 37, 38, 40, 43, 44, 46, 48, 49, 51, 52, 53, 55, 58, 61, 63, 64, 65, 66, 67, 68, 70, 72, 73, 76, 77, 78, 79, 82, 83, 85, 86, 88, 90, 91, 93, 94, 97, 98, 99, 100, 103, 106, 107, 108, 109, 110, 112, 113, 114 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The terms are the values of 2*h*k + k + h + 6, where h and k are positive integers. - Vincenzo Librandi, Jan 19 2013
LINKS
FORMULA
a(n) = 5+A104275(n+1). [R. J. Mathar, Oct 22 2009]
MATHEMATICA
Select[Range[10, 200], !PrimeQ[2*#-11]&] (* Vladimir Joseph Stephan Orlovsky, Feb 09 2012 *)
PROG
(Magma) [n: n in [7..120] | not IsPrime(2*n - 11)]; // Vincenzo Librandi, Oct 11 2012
(Python)
from sympy import isprime
def ok(n): return n > 6 and not isprime(2*n-11)
print(list(filter(ok, range(115)))) # Michael S. Branicky, Oct 13 2021
CROSSREFS
Sequence in context: A102502 A309304 A345508 * A055984 A282108 A306035
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Dec 17 2008
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 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)