|
Search: id:A120365
|
|
|
| A120365 |
|
a(1) = 3, a(2) = 4. a(n) = (largest composite which occurs earlier in sequence) + (largest prime which occurs earlier in sequence). |
|
+0 1
|
|
| 3, 4, 7, 11, 15, 26, 37, 63, 100, 137, 237, 374, 511, 648, 785, 922, 1059, 1196, 1333, 1470, 1607, 3077, 4684, 6291, 7898, 9505, 11112, 12719, 14326, 15933, 17540, 19147, 20754, 22361, 23968, 25575, 27182, 28789, 55971, 84760, 113549, 142338, 171127
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Leroy Quet, Home Page (listed in lieu of email address)
|
|
MAPLE
|
A120365 := proc(nmax) local a, lcomp, lpr, anew ; a := [3, 4] ; lcomp := 4 ; lpr := 3 ; while nops(a) < nmax do anew := lcomp+lpr ; a := [op(a), anew] ; if isprime(anew) then lpr := max(lpr, anew) ; else lcomp := max(lcomp, anew) ; fi ; od ; RETURN(a) ; end ; print(A120365(80) ) ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Dec 16 2006
|
|
CROSSREFS
|
Sequence in context: A039010 A127208 A027022 this_sequence A166375 A060962 A069950
Adjacent sequences: A120362 A120363 A120364 this_sequence A120366 A120367 A120368
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Leroy Quet Jun 26 2006
|
|
EXTENSIONS
|
More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Dec 16 2006
|
|
|
Search completed in 0.002 seconds
|