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.

A101340 a(n) = p^p + p, with p = prime(n).

This page as a plain text file.
%I A101340 #17 Dec 12 2022 09:38:22
%S A101340 6,30,3130,823550,285311670622,302875106592266,827240261886336764194,
%T A101340 1978419655660313589123998,20880467999847912034355032910590,
%U A101340 2567686153161211134561828214731016126483498
%N A101340 a(n) = p^p + p, with p = prime(n).
%H A101340 Vincenzo Librandi, <a href="/A101340/b101340.txt">Table of n, a(n) for n = 1..77</a>
%F A101340 a(n) = A051674(n) + A000040(n). - _R. J. Mathar_, Apr 26 2007
%t A101340 Table[Prime[n]^Prime[n] + Prime[n], {n, 20}] (* _Vincenzo Librandi_, Mar 27 2014 *)
%o A101340 (PARI) for(x=1,16,print( prime(x)^prime(x)+prime(x)))
%o A101340 (PARI) a(n,p=prime(n))=p^p+p \\ _Charles R Greathouse IV_, Dec 12 2022
%o A101340 (Magma) [p^p+p: p in PrimesUpTo(40)]; // _Vincenzo Librandi_, Mar 27 2014
%K A101340 nonn
%O A101340 1,1
%A A101340 _Jorge Coveiro_, Dec 24 2004