OFFSET
1,1
COMMENTS
Sequence items become negative at index 191, since the prime numbers A008578 grow faster than linearly.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
Join[{5}, Table[6n-Prime[n-1], {n, 2, 80}]] (* Harvey P. Dale, Nov 18 2012 *)
PROG
(PARI) a(n)=if(n>1, 6*n-prime(n-1), 5) \\ Charles R Greathouse IV, Mar 16 2016
CROSSREFS
KEYWORD
sign,less
AUTHOR
Paul Curtz, Mar 23 2009
EXTENSIONS
Edited, offset changed by R. J. Mathar, Apr 04 2009
Comment clarified and modified by Harvey P. Dale, Nov 18 2012
STATUS
approved