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.

A282462 Integers but with the primes cubed.

This page as a plain text file.
%I A282462 #11 Sep 08 2022 08:46:18
%S A282462 0,1,8,27,4,125,6,343,8,9,10,1331,12,2197,14,15,16,4913,18,6859,20,21,
%T A282462 22,12167,24,25,26,27,28,24389,30,29791,32,33,34,35,36,50653,38,39,40,
%U A282462 68921,42,79507,44,45,46,103823,48,49,50,51,52,148877,54,55,56
%N A282462 Integers but with the primes cubed.
%H A282462 Vincenzo Librandi, <a href="/A282462/b282462.txt">Table of n, a(n) for n = 0..2000</a>
%e A282462 a(4) = 4 because 4 is composite.
%e A282462 a(5) = 125 because 5 is prime and 5^3 = 125.
%t A282462 Join[{0},If[PrimeQ@#,#^3,#]&/@Range@80]
%o A282462 (Magma) [0] cat [IsPrime(n) select n^3 else n: n in [1..60]];
%Y A282462 Cf. A061397, A103164, A143545.
%K A282462 nonn,easy
%O A282462 0,3
%A A282462 _Vincenzo Librandi_, Feb 17 2017