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!)
A155109 Odd nonprime numbers k such that composite(k) is even. 0
1, 9, 25, 27, 39, 45, 51, 57, 65, 69, 75, 85, 87, 91, 93, 95, 99, 105, 111, 115, 117, 119, 125, 133, 135, 141, 143, 145, 147, 153, 155, 159, 161, 175, 177, 187, 201, 207, 209, 213, 215, 217, 221, 231, 235, 237, 243, 247, 253, 255, 259, 261, 273, 275, 279, 287 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
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
Sequence in context: A322999 A304035 A339726 * A268576 A053850 A225498
KEYWORD
nonn,less
AUTHOR
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

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 23 11:27 EDT 2024. Contains 371913 sequences. (Running on oeis4.)