Brazilian numbers: Difference between revisions
Content deleted Content added
Added Algol W |
→{{header|ALGOL W}}: Added a note. |
||
Line 40: | Line 40: | ||
=={{header|ALGOL W}}== |
=={{header|ALGOL W}}== |
||
Constructs a sieve of Brazilian numbers from the definition. |
|||
<lang algolw>begin % find some Brazilian numbers - numbers N whose representation in some % |
<lang algolw>begin % find some Brazilian numbers - numbers N whose representation in some % |
||
% base B ( 1 < B < N-1 ) has all the same digits % |
% base B ( 1 < B < N-1 ) has all the same digits % |