login
a(n) = prime(n)^6 - prime(n)^4.
3

%I #14 Aug 31 2018 02:58:21

%S 48,648,15000,115248,1756920,4798248,24054048,46915560,147756048,

%T 594116040,886580160,2563852248,4747278480,6317944248,10774335648,

%U 22156470648,42168416280,51506528520,90438231048,128074872240

%N a(n) = prime(n)^6 - prime(n)^4.

%H Vincenzo Librandi, <a href="/A138411/b138411.txt">Table of n, a(n) for n = 1..168</a>

%H <a href="/index/Pri#prime_powers">Index to sequences related to prime powers</a>

%t a = {}; Do[p = Prime[n]; AppendTo[a, p^6 - p^4], {n, 1, 50}]; a

%t #^6-#^4&/@Prime[Range[20]] (* _Harvey P. Dale_, May 18 2012 *)

%o (PARI) forprime(p=2,1e3,print1(p^6-p^4", ")) \\ _Charles R Greathouse IV_, Jun 16 2011

%K nonn,easy

%O 1,1

%A _Artur Jasinski_, Mar 19 2008