OFFSET
1,2
MAPLE
isA002808 := proc(n) n >= 4 and not isprime(n) ; end proc:
A002808 := proc(n) option remember ; local a; if n = 1 then 4; else for a from procname(n-1)+1 do if not isprime(a) then return a; end if; end do; end if; end proc:
for n from 1 to 400 do if type(n, 'odd') and not isprime(n) then c := A002808(n) ; if type(c, 'even') then printf("%d, ", n) ; end if; end if; end do: # R. J. Mathar, May 10 2010
MATHEMATICA
With[{nn=400}, Select[Flatten[Position[Complement[Range[4, nn], Prime[ Range[PrimePi[nn]]]], _?(EvenQ[#]&)]], OddQ[#]&&!PrimeQ[#]&]] (* Harvey P. Dale, Jun 23 2013 *)
CROSSREFS
KEYWORD
nonn,less
AUTHOR
Juri-Stepan Gerasimov, Jan 20 2009
EXTENSIONS
Edited by N. J. A. Sloane, Jan 30 2009
Corrected (67, 79, 113, 189, 219 removed) by R. J. Mathar, May 10 2010
STATUS
approved