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.

A277047 Number obtained by concatenating the cubes of the digits of prime(n).

Original entry on oeis.org

8, 27, 125, 343, 11, 127, 1343, 1729, 827, 8729, 271, 27343, 641, 6427, 64343, 12527, 125729, 2161, 216343, 3431, 34327, 343729, 51227, 512729, 729343, 101, 1027, 10343, 10729, 1127, 18343, 1271, 127343, 127729, 164729, 11251, 1125343, 121627, 1216343
Offset: 1

Views

Author

Vincenzo Librandi, Oct 17 2016

Keywords

Examples

			For n = 7, prime(7) = 17 and a(7) = 1343, which is the concatenation of the cubes of the digits of 17.
		

Crossrefs

Programs

  • Magma
    [StringToInteger(&cat[IntegerToString(h): h in Reverse([i^3: i in Intseq(p)])]): p in PrimesUpTo(250)];
  • Mathematica
    Table[FromDigits[Flatten[IntegerDigits/@(IntegerDigits[Prime[n]]^3)]], {n, 50}]

Formula

a(n) = A048390(A000040(n)).