login
A277047
Number obtained by concatenating the cubes of the digits of prime(n).
1
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,1
FORMULA
a(n) = A048390(A000040(n)).
EXAMPLE
For n = 7, prime(7) = 17 and a(7) = 1343, which is the concatenation of the cubes of the digits of 17.
MATHEMATICA
Table[FromDigits[Flatten[IntegerDigits/@(IntegerDigits[Prime[n]]^3)]], {n, 50}]
PROG
(Magma) [StringToInteger(&cat[IntegerToString(h): h in Reverse([i^3: i in Intseq(p)])]): p in PrimesUpTo(250)];
CROSSREFS
KEYWORD
nonn,base,less
AUTHOR
Vincenzo Librandi, Oct 17 2016
STATUS
approved