Dzialajacy gradient dla reszt 13 i 7