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.
%I A004165 #32 Dec 28 2023 07:08:01 %S A004165 1,8,72,46,521,612,343,215,927,1,1331,8271,7912,4472,5733,6904,3194, %T A004165 2385,9586,8,1629,84601,76121,42831,52651,67571,38691,25912,98342,72, %U A004165 19792,86723,73953,40393,57824,65664,35605,27845,91395,46,12986,88047,70597,48158 %N A004165 Cubes written backwards. %H A004165 Michael S. Branicky, <a href="/A004165/b004165.txt">Table of n, a(n) for n = 1..10000</a> (terms 1..1000 from Vincenzo Librandi) %F A004165 a(n) = A004086(A000578(n)). - _Michel Marcus_, Jun 04 2019 %p A004165 a:= n-> (s-> parse(cat(s[-i]$i=1..length(s))))(""||(n^3)): %p A004165 seq(a(n), n=1..60); # _Alois P. Heinz_, May 20 2022 %t A004165 Table[FromDigits[Reverse[IntegerDigits[n^3]]], {n, 1, 50}] (* _Vincenzo Librandi_, Aug 27 2013 *) %t A004165 IntegerReverse[Range[50]^3] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Oct 23 2019 *) %o A004165 (PARI) a(n) = fromdigits(Vecrev(digits(n^3))); \\ _Michel Marcus_, Jun 04 2019 %o A004165 (Python) %o A004165 def a(n): return int(str(n**3)[::-1]) %o A004165 print([a(n) for n in range(1, 45)]) # _Michael S. Branicky_, May 24 2022 %Y A004165 Cf. A000578 (cubes), A004086 (n written backwards). %Y A004165 Cf. A002942 (squares written backwards). %K A004165 nonn,base %O A004165 1,2 %A A004165 _N. J. A. Sloane_ %E A004165 More terms from _Jeremy Gardiner_, Sep 08 2002