Using the concept of least common multiple, both students will miss the class on the 17th day.
The least common multiple of two integers a and b, usually denoted by lcm(a, b), is the smallest positive integer that is divisible by both a and b.
Student A misses the class after every 3 days.
Student B misses the class after every 5 days.
Student A and B misses the class on the same day after every 3x5 = 15 days.
Since both students missed the class on 2nd day. They will miss the class on the same day on the 2 + 15 = 17th day of the class.
Learn more about least common multiple here
https://brainly.com/question/11533141
#SPJ3