This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A135177 a(n) = p^2*(p-1), where p = prime(n). 5
 4, 18, 100, 294, 1210, 2028, 4624, 6498, 11638, 23548, 28830, 49284, 67240, 77658, 101614, 146068, 201898, 223260, 296274, 352870, 383688, 486798, 564898, 697048, 903264, 1020100, 1082118, 1213594, 1283148, 1430128, 2032254, 2230930 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Vincenzo Librandi, Table of n, a(n) for n = 1..1000 FORMULA a(n) = p^3 - p^2 = A030078(n)-A001248(n). a(n) = A000010(prime(n)^3). - R. J. Mathar, Oct 15 2017 EXAMPLE a(4) = 294 because the 4th prime number is 7, 7^2 = 49, 7-1 = 6 and 49 * 6 = 294. MATHEMATICA Table[Prime[n]^3-Prime[n]^2, {n, 1, 12}] (* Vladimir Joseph Stephan Orlovsky, Apr 29 2008 *) Table[p^3-p^2, {p, Prime[Range[40]]}] (* Harvey P. Dale, Jan 15 2015 *) PROG (MAGMA)[(p^3-p^2): p in PrimesUpTo(200)]; // Vincenzo Librandi, Dec 15 2010 (PARI) forprime(p=2, 1e3, print1(p^2*(p-1)", ")) \\ Charles R Greathouse IV, Jun 16 2011 CROSSREFS Cf. A001248 (p^2), A030078 (p^3), A045991 (n^2 * (n-1)). Sequence in context: A263688 A197593 A084832 * A244309 A137958 A215522 Adjacent sequences:  A135174 A135175 A135176 * A135178 A135179 A135180 KEYWORD nonn,easy AUTHOR Omar E. Pol, Nov 25 2007 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 21 13:17 EST 2019. Contains 319350 sequences. (Running on oeis4.)