Angelo Mingarelli

4 Reputation

2 Badges

18 years, 88 days

MaplePrimes Activity


These are questions asked by Angelo Mingarelli

Given a positive integer k, another integer q >=2, the problem is to find the set of all positive integers {k_1,k_2, ...} such that

sum(k_iq^i,  i=0..infinity)  = k).
 

Note that for a given k this sum is always finite and so the solution set is always finite. Generally the output will consist of the array [k_0,k_1,k_2,...] but the output we seek is to print out only the terms [k_1,k_2,...] from this solution and then use this output later on for something else.

Page 1 of 1