OFFSET
1,3
FORMULA
a(n) = A004647(n-1)^3.
EXAMPLE
64 is in the sequence because it is a perfect cube (64 = 4^3) whose digits appear in nonincreasing order.
MATHEMATICA
Select[Range[0, 4*10^6]^3, Max@ Differences[IntegerDigits[#]] <= 0 &] (* Amiram Eldar, Mar 30 2022 *)
PROG
(PARI) ok(n) = digits(n) == vecsort(digits(n), , 4) && ispower(n, 3)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antonio Roldán, Mar 30 2022
STATUS
approved