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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A049847 a(n) = (2*n + 1 - prevprime(2*n+1))/2. 5
 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 2, 3, 1, 2, 1, 1, 2, 1, 2, 3, 1, 2, 3, 1, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 3, 4, 1, 2, 1, 1, 2, 1, 1, 2, 1, 2, 3, 4, 5, 6, 7, 1, 2, 1, 2, 3, 1, 1, 2, 3, 4, 5, 1, 1, 2, 3, 1, 2, 3, 1, 2, 1, 2, 3, 1, 2, 3, 1, 1, 2, 3, 4 (list; graph; refs; listen; history; text; internal format)
 OFFSET 2,4 LINKS Table of n, a(n) for n=2..94. MATHEMATICA Table[(2n+1-NextPrime[2n+1, -1])/2, {n, 2, 100}] (* Harvey P. Dale, Jul 25 2015 *) CROSSREFS Cf. A049613, A049653, A049711, A049716. Sequence in context: A369377 A091304 A340101 * A255274 A025431 A161070 Adjacent sequences: A049844 A049845 A049846 * A049848 A049849 A049850 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified April 15 05:45 EDT 2024. Contains 371667 sequences. (Running on oeis4.)