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.

A259654 a(n) = prime(n)^prime(n) - prime(n)^n.

This page as a plain text file.
%I A259654 #24 Sep 08 2022 08:46:13
%S A259654 2,18,3000,821142,285311509560,302875101765444,827240261885926425504,
%T A259654 1978419655660296605560938,20880467999847912032553880249104,
%U A259654 2567686153161211134561828214310308893183268,17069174130723235958610643029033906279148329600
%N A259654 a(n) = prime(n)^prime(n) - prime(n)^n.
%F A259654 a(n) = A051674(n) - A062457(n).
%t A259654 Table[Prime[n]^Prime[n] - Prime[n]^n, {n, 1, 10}]
%t A259654 #[[1]]^#[[1]]-#[[1]]^#[[2]]&/@Table[{Prime[n],n},{n,15}] (* _Harvey P. Dale_, Nov 10 2016 *)
%o A259654 (Magma) [NthPrime(n)^NthPrime(n)-NthPrime(n)^n: n in [1..12]]; // _Vincenzo Librandi_, Jul 03 2015
%o A259654 (PARI) a(n,p=prime(n))=p^p - p^n \\ _Charles R Greathouse IV_, Jul 22 2016
%Y A259654 Cf. A062481, A051674.
%K A259654 nonn,easy
%O A259654 1,1
%A A259654 _Ilya Gutkovskiy_, Jul 02 2015