40 diodes per strip x 5000 strips is 200,000 LEDs.
Let's make sure assumptions.
OPTION 1 (Dim light)
White LEDs,
3.1v forward voltage drop
5mA
15.5 mW per LED
200,000 LEDs
3100 watts of power required for lighting LEDs
Plus 20% energy lost (600W)
Total 3700 watts.
OPTION 2 (normal)
White LEDs
3.3 forward
20 mA
200,000 LEDs
12400 W of power required for lighting LEDs
Plus 20% energy lost (2500 W)
Total 15100 watts
For reference, you can get about 3 Watts from a D-Cell battery for 6 hours.
For Option 1, you would need about 1200 D-cell batteries or
For Option 2, you would need 6000 D-Cells
If you want to use button cells, you'd need at least 10x as many but those are not intended for rapid discharge so you'd need even more (likely one battery per LED for the dim option.