<span lang="en-us
(a) for digit



expression : 5n + 1

where n = no of digits

for 5 digits

no of segments required = 5(5) + 1 = 25 + 1 = 26

for 10 digits

no of segments required = 5(10) + 1 = 50 + 1 = 51

for 100 digits

no of segments required = 5(100) + 1 = 500 + 1 = 501

(b) for digit



expression : 3n + 1

where n = no of digits

for 5 digits

no of segments required = 3(5) + 1 = 15 + 1 = 16

for 10 digits

no of segments required = 3(10) + 1 = 30 + 1 = 31

for 100 digits

no of segments required = 3(100) + 1 = 300 + 1 = 301

(c) for digit



expression : 5n + 2

where n = no of digits

for 5 digits

no of segments required = 5(5) + 2 = 25 + 2 = 27

for 10 digits

no of segments required = 5(10) + 2 = 50 + 2 = 52

for 100 digits

no of segments required = 5(100) + 2 = 500 + 2 = 502
```

<p>
    <div>
        <span&gtsomething_1</span>
        <span&gtsomething_2</span>
    </div>
</p>

``` information is below. please you are missing a semicolon at the end :) [@su.ziying](/u/su.ziying) <https://documenter.getpostman.com/view/3407886/rwgp1fb5> [@…](/u/kyle_williams) correct the first one. Are you close:



```
/\_\_((?!\_\_).)*\_\_/

        

        
        
        
 (adsbygoogle = window.adsbygoogle || []).push({});
 
        

    
```

works. The star must be outside the repeating group, so the scan is performed at each position, not immediately after the presenter `__`
  




 (adsbygoogle = window.adsbygoogle || []).push({});
 
  

.



  




 (adsbygoogle = window.adsbygoogle || []).push({});
 
  

Since this does not display the correct text (I am assuming you want the content between the double underscores to be captured), you probably want



```
/\_\_((?:(?!\_\_).)*)\_\_/

        

        
        
        
 (adsbygoogle = window.adsbygoogle || []).push({});
 
        

    
``` fill in the blank (xiv).