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

A104127
(1+prime(n))^prime(n).
2
9, 64, 7776, 2097152, 743008370688, 793714773254144, 2185911559738696531968, 5242880000000000000000000, 55572324035428505185378394701824, 6863037736488300000000000000000000000000000
OFFSET
1,1
COMMENTS
Sum of reciprocals rapidly converges to 0.1268651887726617214821302614..
MATHEMATICA
(1+#)^#&/@Prime[Range[20]] (* Harvey P. Dale, Nov 19 2015 *)
PROG
(PARI) ptopp1(n) = { local(x, z, sr=0); forprime(x=1, n, z=(x+1)^x; sr+=1./z; print1(z", "); ); print(); print(sr) }
(Maxima) A104127(n) := block(
return((1+A000040(n))^A000040(n))
)$
for n : 1 thru 20 do printf(true, "~d, ", A104127(n)) ; /* R. J. Mathar, Feb 27 2012 */
CROSSREFS
Sequence in context: A351591 A217872 A067961 * A043426 A038484 A043021
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Mar 06 2005
EXTENSIONS
Definition (which equaled A078422) corrected and dummy variables in PARI program removed by R. J. Mathar, Oct 23 2009
STATUS
approved