login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A033557 2n - {largest prime < n}. 0
4, 5, 7, 7, 9, 9, 11, 13, 15, 13, 15, 15, 17, 19, 21, 19, 21, 21, 23, 25, 27, 25, 27, 29, 31, 33, 35, 31, 33, 33, 35, 37, 39, 41, 43, 39, 41, 43, 45, 43, 45, 45, 47, 49, 51, 49, 51, 53, 55, 57, 59, 55, 57, 59, 61, 63 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,1

LINKS

Table of n, a(n) for n=3..58.

MAPLE

f := n->2*n-prevprime(n); [ seq(f(i), i=3..60) ];

CROSSREFS

A049711(n) + n.

Sequence in context: A109896 A004221 A239504 * A259600 A088298 A075992

Adjacent sequences:  A033554 A033555 A033556 * A033558 A033559 A033560

KEYWORD

nonn

AUTHOR

N. J. A. Sloane.

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 18 12:19 EDT 2021. Contains 348067 sequences. (Running on oeis4.)