login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158635 6n - A008578(n). 1
5, 10, 15, 19, 23, 25, 29, 31, 35, 37, 37, 41, 41, 43, 47, 49, 49, 49, 53, 53, 55, 59, 59, 61, 61, 59, 61, 65, 67, 71, 73, 65, 67, 67, 71, 67, 71, 71, 71, 73, 73, 73, 77, 73, 77, 79, 83, 77, 71, 73, 77, 79, 79, 83, 79, 79, 79, 79, 83, 83, 85, 89, 85, 77, 79, 83, 85, 77, 77, 73, 77 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Sequence items become negative at index 191, since the prime numbers A008578 grow faster than linearly.
LINKS
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
Sequence in context: A120686 A313678 A313679 * A313680 A313681 A313682
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)