[go: up one dir, main page]

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”).

A191621
a(n) = ((n+1)^n-(n-1)^n)/2+1.
4
2, 5, 29, 273, 3377, 51013, 908609, 18640961, 432891137, 11225320101, 321504185345, 10079828372881, 343360783937537, 12627774819845669, 498676704524517377, 21046391759976988929, 945381827279671853057, 45032132922921758270917
OFFSET
1,1
COMMENTS
The next prime in the sequence, after 2, 5 and 29, has at least 888 digits (n >= 349).
EXAMPLE
a(1)=2 because ((1+1)^1-(1-1)^1)/2+1=2,
a(2)=5 because ((2+1)^2-(2-1)^2)/2+1=5,
a(3)=29 because ((3+1)^3-(3-1)^3)/2+1=29.
MATHEMATICA
Table[((n+1)^n-(n-1)^n)/2+1, {n, 20}] (* Harvey P. Dale, Oct 27 2019 *)
CROSSREFS
Sequence in context: A265147 A098682 A108367 * A103592 A209428 A098026
KEYWORD
nonn
AUTHOR
STATUS
approved