Computer Science, asked by ankitrajgga, 8 months ago

Imo
John is decorating his house with a series of light
bulbs for a party he is hosting. There are N bulbs
placed sequentially on a string which is progarmed
to change patterns every second in the senes
If at least one bulb in the set is on at any given
instant of time, how many different patterns of light
can the series of light bulbs produce
Note: Lighting two bulbs - is different from **
nput format
An integer N. denoting the number of bulbs in the
series of light bulbs
Output Format
Print the total number of patterns modulo 105
Constraints
0í N <= 500
Sample Test Case
Input=1
Output,1​

Answers

Answered by tamannamehlawat830
0

Answer:

I think you should ask your teacher

Explanation:

that better

Similar questions