Gapful numbers: Difference between revisions
→{{header|Fōrmulæ}}
Line 1,422:
{{FormulaeEntry|page=https://formulae.org/?script=examples/Gapful_numbers}}
'''Solution'''
The following function return whether a given number is gapful or not
[[File:Fōrmulæ - Gapful numbers 01.png]]
The following function shows gapful numbers from a given value:
[[File:Fōrmulæ - Gapful numbers 02.png]]
'''Test case 1''' Show the first 30 gapful numbers
[[File:Fōrmulæ - Gapful numbers 03.png]]
[[File:Fōrmulæ - Gapful numbers 04.png]]
'''Test case 2''' Show the first 15 gapful numbers ≥ 1,000,000
[[File:Fōrmulæ - Gapful numbers 05.png]]
[[File:Fōrmulæ - Gapful numbers 06.png]]
'''Test case 3''' Show the first 10 gapful numbers ≥ 1,000,000,000
[[File:Fōrmulæ - Gapful numbers 07.png]]
[[File:Fōrmulæ - Gapful numbers 08.png]]
=={{header|Go}}==
|