Excluding 100BC and 500AD, there are:
In BC: 99BC to 1BC = 99 years
In AD: 1AD to 499AD = 499 years
In total 99 + 499 = 598 years.
Including 100BC and 500AD, there are:
In BC: 100BC to 1BC = 100 years
In AD: 1AD to 500AD = 500 years
In total 100 + 500 = 600 years.
You may be wondering about the lack of year 0.
The BC/AD system of calendar was devised by an abbot called Dionysius Exiguus in the year designated as 247 anno Diocletiani (year of Diocletian). However, as Diocletian was a notorious persecutor of Christians, and so Dionysius decided to use anno Domini (year of the Lord) to describe the year; he worked out Christ had been born some 531 years earlier; in his time zero did not exist (as a concept) and so his first year, the year of Christ's birth, became 1AD (with the previous year now being known as 1BC). Thus 247 anno Diocletian became 531 anno Domini in the calendar system we now use.
40.
40. There are 400 numbers between 100 and 500 and one in every ten ends in 5.
157 of them.
500
40 palindromes.
40.
40. There are 400 numbers between 100 and 500 and one in every ten ends in 5.
251
There are 67.
157 of them.
500
There are (500-100)/2 = 200 numbers divisible by 2 between 100 and 500 counting 100 but not 500. Of these (500-100)/8 = 50 are divisible by 8. So there are 150 numbers between 100 and 500 divisible by two but not by 8. By relative primeness exactly 50 out of these 150 are divisible by 3 and therefore these 50 are exactly the ones divisible by 6 but not by 8.
40 palindromes.
500 /5 =100
They are from 11 squared to 22 squared making a total of 12 square numbers between 100 and 500
There are 166 multiples in 500 (500/3=166r2)and 33 multiples in100(100/3=33 r1) if you subtract the later from the first.... 166-33=133
400