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.

A130607 a(n) = prime(n+1)^n + prime(n)^n.

This page as a plain text file.
%I A130607 #7 Jun 30 2024 03:30:30
%S A130607 5,34,468,17042,532344,28964378,1304210412,95294548322,16308298637332,
%T A130607 1240335520281002,203326098675865244,29146442306206221362,
%U A130607 2643367226597304414564,330552343531805913099818,85200500239848987963203500,25435446457194919247155743362,3513844792272393084250431362040
%N A130607 a(n) = prime(n+1)^n + prime(n)^n.
%C A130607 Prime(n) is the n-th prime number.
%F A130607 a(n) = A062457(n) + A093360(n+1). - _Amiram Eldar_, Jun 30 2024
%e A130607 For n=2, prime(2+1)^2 - prime(2)^2 = 5^2 + 3^2 = 34, the second term.
%t A130607 Table[Prime[n+1]^n + Prime[n]^n, {n, 1, 20}] (* _Amiram Eldar_, Jun 30 2024 *)
%o A130607 (PARI) g2(n) = for(x=1,n,y=prime(x+1)^x+prime(x)^x;print1(y","))
%Y A130607 Cf. A062457, A093360.
%K A130607 nonn
%O A130607 1,1
%A A130607 _Cino Hilliard_, Jun 17 2007
%E A130607 More terms from _Amiram Eldar_, Jun 30 2024