Factors of an integer: Difference between revisions

Content added Content deleted
m (→‎{{header|Phix}}: added syntax colouring the hard way)
Line 2,144:
=={{header|Excel}}==
===LAMBDA===
Binding the name '''FACTORS''' to a custom function defined by the following '''=LAMBDA''' expression
{{Works with|Office 365 Betas 2021}}
 
in the Name Manager of an Excel workbook.
 
(See: [https://www.microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/ The LAMBDA worksheet function in Excel])
Binding the name '''FACTORS''' to a custom function defined by the following '''=LAMBDA''' expression
 
{{Works with|Office 365 Betas 2021}}
in the name manager of an Excel worksheet (in recent beta builds of Excel)
 
(See: [https://www.microsoft.com/en-us/research/blog/lambda-the-ultimatae-excel-worksheet-function/ The LAMBDA worksheet function in Excel])
<lang lisp>=LAMBDA(n,
IF(1 < n,