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.

A262186 a(n) = prime(n)^3 - n^3.

This page as a plain text file.
%I A262186 #10 Sep 08 2022 08:46:14
%S A262186 7,19,98,279,1206,1981,4570,6347,11438,23389,28460,48925,66724,76763,
%T A262186 100448,144781,200466,221149,293904,349911,379756,482391,559620,
%U A262186 691145,897048,1012725,1073044,1203091,1270640,1415897,2018592,2215323
%N A262186 a(n) = prime(n)^3 - n^3.
%C A262186 Obviously, a(n) is not a prime number if n > 2.
%F A262186 a(n) = A030078(n) - A000578(n).
%t A262186 Array[Prime[#]^3 - #^3 &, {32}] (* _Michael De Vlieger_, Sep 14 2015 *)
%o A262186 (PARI) a(n) = prime(n)^3 - n^3;
%o A262186 vector (30, n, a(n))
%o A262186 (Magma) [NthPrime(n)^3 - n^3: n in [1..40]]; // _Vincenzo Librandi_, Sep 15 2015
%Y A262186 Cf. A030078, A000578.
%Y A262186 Cf. A014689, A106588.
%K A262186 nonn,easy
%O A262186 1,1
%A A262186 _Altug Alkan_, Sep 14 2015