cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A104127 (1+prime(n))^prime(n).

This page as a plain text file.
%I A104127 #13 Nov 19 2015 16:52:59
%S A104127 9,64,7776,2097152,743008370688,793714773254144,
%T A104127 2185911559738696531968,5242880000000000000000000,
%U A104127 55572324035428505185378394701824,6863037736488300000000000000000000000000000
%N A104127 (1+prime(n))^prime(n).
%C A104127 Sum of reciprocals rapidly converges to 0.1268651887726617214821302614..
%t A104127 (1+#)^#&/@Prime[Range[20]] (* _Harvey P. Dale_, Nov 19 2015 *)
%o A104127 (PARI) ptopp1(n) = { local(x,z,sr=0); forprime(x=1,n, z=(x+1)^x; sr+=1./z; print1(z","); ); print(); print(sr) }
%o A104127 (Maxima) A104127(n) := block(
%o A104127         return((1+A000040(n))^A000040(n))
%o A104127   )$
%o A104127   for n : 1 thru 20 do printf(true,"~d,",A104127(n)) ; /* R. J. Mathar, Feb 27 2012 */
%K A104127 easy,nonn
%O A104127 1,1
%A A104127 _Cino Hilliard_, Mar 06 2005
%E A104127 Definition (which equaled A078422) corrected and dummy variables in PARI program removed by _R. J. Mathar_, Oct 23 2009