is 47 a composite number

No, 47 is not a composite number. It is a prime number because it only has two factors: 1 and 47.