login
This site is supported by donations 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

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

Sequence in context: A282145 A241141 A120686 * A081839 A181579 A137936

Adjacent sequences:  A158632 A158633 A158634 * A158636 A158637 A158638

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified July 23 05:58 EDT 2017. Contains 289686 sequences.