login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A073819
a(n) = prime(i) such that prime(i)*(n+1-i) is maximized (1 <= i <= n).
2
2, 2, 2, 5, 5, 11, 11, 11, 11, 17, 17, 17, 17, 29, 29, 29, 29, 29, 37, 37, 37, 41, 41, 41, 41, 59, 59, 59, 59, 59, 59, 59, 67, 67, 67, 71, 71, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 97, 127, 127, 127, 127, 127, 127, 127, 127, 149, 149, 149, 149, 149, 149, 149, 149
OFFSET
1,1
COMMENTS
3 is the only n for which the maximum is not unique; a(3) could also be given as 3.
FORMULA
a(n) = A073818(n)/A073820(n).
EXAMPLE
For n = 5, we take the first 5 primes in ascending order and multiply them by the numbers from 5 to 1 in descending order: 2*5 = 10 3*4 = 12 5*3 = 15 7*2 = 14 11*1 = 11 The largest product is 15, so a(5) = 5.
CROSSREFS
Sequence in context: A326547 A326686 A096403 * A190846 A214787 A066835
KEYWORD
easy,nonn
AUTHOR
David Wasserman, Aug 13 2002
STATUS
approved