OFFSET
1,2
COMMENTS
FORMULA
a(n) ~ n. [Charles R Greathouse IV, Dec 21 2011]
EXAMPLE
a(1) = 1 (= 0+1);
a(2) = 2 (= 1+1);
a(3) = 7 (= 4+3).
MAPLE
A141468 := proc(n) option remember; 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: A070939 := proc(n) max(1, ilog2(n)+1) ; end: A163400 := proc(n) A070939(A141468(n)) ; end: A163405 := proc(n) A141468(n)+A163400(n) ; end: seq(A163405(n), n=1..120) ; # R. J. Mathar, Oct 10 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jul 26 2009
STATUS
approved