OFFSET
1,3
COMMENTS
The rising factorial d^(c) is defined as d*(d+1)*(d+2)*...*(d+c-1).
EXAMPLE
7^(3) + 4^(3) + 4^(3) = 7*8*9 + 4*5*6 + 4*5*6 = 504 + 120 + 120 = 744, therefore 744 is in the list.
MATHEMATICA
q[n_] := Module[{dig = IntegerDigits[n], nd}, nd = Length[dig]; Sum[(d + nd - 1)!/(d - 1)!, {d, dig}] == n]; Select[Range[0, 1000], q] (* Amiram Eldar, Jun 18 2021 *)
PROG
(C++) #include <iostream>
#include <cmath>
using namespace std; unsigned long long rf(unsigned long long a, int b){unsigned long long s=1; for(int i=0; i<b; i++){s=s*(a+i); } return s; }int main(int argc, char** argv) {int k, a, p=0; for(unsigned long long n=0; n<=pow(10, 9); n++){k=floor(log10(n))+1; a=n; for(int j=1; j<=k; j++){p+=rf(a%10, k); a/=10; }if(p==n){cout<<n<<", "; } p=0; }}
CROSSREFS
KEYWORD
nonn,base,fini,more
AUTHOR
Andrzej Kukla, Jun 18 2021
STATUS
approved