OFFSET
1,1
COMMENTS
Previous name was "Ceiling(A179896 / n) for n > 0 and remainder <> 0".
FORMULA
Conjectures from Colin Barker, Nov 25 2019: (Start)
G.f.: x*(5 - 2*x) / (1 - x)^2.
a(n) = 2*a(n-1) - a(n-2) for n>2.
a(n) = 2 + 3*n.
(End)
MAPLE
From R. J. Mathar, Sep 19 2010: (Start)
A018252 := proc(n) option remember; if n = 1 then 1; else for a from procname(n-1)+1 do if not isprime(a) then return a; end if; end do; end if; end proc:
A045943 := proc(n) 3*n*(n+1)/2 ; end proc:
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Odimar Fabeny, Sep 07 2010
EXTENSIONS
Previous name replaced (with a Sep 19 2010 comments entry from R. J. Mathar) by Jon E. Schoenfield, Nov 28 2019
STATUS
approved