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!)
A111333 Number of odd numbers <= n-th prime. 15
1, 2, 3, 4, 6, 7, 9, 10, 12, 15, 16, 19, 21, 22, 24, 27, 30, 31, 34, 36, 37, 40, 42, 45, 49, 51, 52, 54, 55, 57, 64, 66, 69, 70, 75, 76, 79, 82, 84, 87, 90, 91, 96, 97, 99, 100, 106, 112, 114, 115, 117, 120, 121, 126, 129, 132, 135, 136, 139, 141, 142, 147, 154, 156, 157 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This is A006254 (numbers n such that 2n-1 is prime) with a leading 1. - Lambert Klasen (lambert.klasen(AT)gmx.net), Nov 06 2005
Same as smallest k such that prime(n) divides C(2k,k). - Jonathan Sondow, Jan 20 2016
Positions of records in A046112. - Hugo Pfoertner, Jul 11 2019
LINKS
FORMULA
a(n) = ceiling((prime_n)/2). - Robert G. Wilson v, Nov 07 2005
MAPLE
seq(ceil(ithprime(i)/2), i=1..100); # Robert Israel, Jan 20 2016
MATHEMATICA
Table[ Ceiling[ Prime[n]/2], {n, 65}] (* Robert G. Wilson v *)
PROG
(PARI) a(n)=(prime(n)+1)\2 \\ Charles R Greathouse IV, Sep 16 2015
CROSSREFS
Sequence in context: A205805 A246372 A006254 * A047701 A164528 A127963
KEYWORD
nonn,easy
AUTHOR
Giovanni Teofilatto, Nov 05 2005
EXTENSIONS
More terms from Robert G. Wilson v, Nov 07 2005
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 16 03:28 EDT 2024. Contains 371696 sequences. (Running on oeis4.)