How to find powers of 7 present in a string of integers in C?

8544343492401001680777

it contains 343,49,2401,16807 powers of 7. And if 7 is contained in a power 
of 7 then do not consider it as a lower power i.e in above example 16807 
contains 7 but need not to take this 7


Thanks in Advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].

Reply via email to