In reality, he doesn’t know what he wants vs what he needs.He mentions that he wats the same current through the electromagnet, and that is 1-4A. This is not possible with the LEDs in series.
To make that happen, (4A) you would need to put 40 in parallel with a resistor for each.
Mixing 100 mA LEDs with 4A electromagnet indicates that he needs to rethink the problem.




