login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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