|
Search: id:A156324
|
|
|
| A156324 |
|
a(1)=0, a(n+1) is smallest nonprime >= a(n)+n. |
|
+0 1
|
|
| 0, 1, 4, 8, 12, 18, 24, 32, 40, 49, 60, 72, 84, 98, 112, 128, 144, 161, 180, 200, 220, 242, 264, 287, 312, 338, 364, 391, 420, 450, 480, 511, 543, 576, 610, 645, 681, 718, 756, 795, 835, 876, 918, 961, 1005, 1050, 1096, 1143, 1191, 1240, 1290, 1341, 1393, 1446
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
EXAMPLE
|
a(4) is the smallest nonprime >= a(3)+3=4+3=7, hence a(4)=8.
|
|
MAPLE
|
A141468 := proc(n) option remember ; local a ; if n = 1 then 0 ; else for a from procname(n-1)+1 do if not isprime(a) then RETURN(a) ; fi; od: fi; end: A156324 := proc(n) option remember ; local a; if n = 1 then 0; else for a from procname(n-1)+n-1 do if not isprime(a) then RETURN(a) ; fi; od: fi; end: seq(A156324(n), n=1..80) ; [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 10 2009]
|
|
CROSSREFS
|
Cf. A000040, A055496, A141468.
Sequence in context: A072715 A049621 A072511 this_sequence A082645 A111201 A145203
Adjacent sequences: A156321 A156322 A156323 this_sequence A156325 A156326 A156327
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Feb 08 2009
|
|
EXTENSIONS
|
Corrected from a(31) on - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Feb 10 2009
|
|
|
Search completed in 0.002 seconds
|