22 lines
1,006 B
Text
22 lines
1,006 B
Text
A super-d number is a positive, decimal (base ten) integer '''n''' such that '''d × n<sup>d</sup>''' has at least '''d''' consecutive digits '''d''' where
|
||
<big>2 ≤ d ≤ 9</big>
|
||
For instance, 753 is a super-3 number because 3 × 753<sup>3</sup> = 128087<u>333</u>1.
|
||
|
||
|
||
'''Super-d''' numbers are also shown on '''MathWorld'''™ as '''super-''d'' ''' or '''super-<sup>''d''<sup>'''.
|
||
|
||
|
||
;Task:
|
||
:* Write a function/procedure/routine to find super-d numbers.
|
||
:* For '''d=2''' through '''d=6''', use the routine to show the first '''10''' super-d numbers.
|
||
|
||
|
||
;Extra credit:
|
||
:* Show the first '''10''' super-7, super-8, and/or super-9 numbers (optional).
|
||
|
||
|
||
;See also:
|
||
:* [http://mathworld.wolfram.com/Super-dNumber.html Wolfram MathWorld - Super-d Number].
|
||
:* [http://oeis.org/A014569 OEIS: A014569 - Super-3 Numbers].
|
||
<br><br>
|
||
|