#include #include int šp (int število, int prafaktor) { int vrni = 0; while (!(število % prafaktor)) { vrni++; število /= prafaktor; } return vrni; } int main (void) { int število = 0; for (int i = 1; i < 100; i++) število += šp(i, 7); printf("%d\n", število); }