The primes that factor 45 are 3 and 5....so....any integer not divisible by either of these will be relatively prime to 45
[ 1 is not included....it divides every integer ]
So we have 2,4,7,8,11,13,14,16,17,19,22,23,,26,28,29,31,32,34,37,38,41,43,44
23 integers