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
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
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
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Dec 17 2008
STATUS
approved