Problem: primepolydivisible numbers
Code: primepolydivisible+numbers/tails_1759600402
Nibbles version: 0.2 | 0.21 | 0.22 | 0.23 | 0.24 | 0.25 | 1.00
Format: Compact | Simple | +Type | Table | JSON | .nbl (DeBruijn) | .nbl (names)
| Depth | Lit | Desc | Type | Arg | Let |
|---|---|---|---|---|---|
| 0 | | implicit map | [[chr]] | ||
| * 1 | + | add | [int] | ||
| ** 2 | 2 | integer | int | ||
| ** 2 | , | range from 1 | [int] | ||
| *** 3 | 10 | integer | int | ||
| * 1 | : | append | [chr] | B:int A:int | |
| ** 2 | * | join | [chr] | ||
| *** 3 | ; | save | [chr] | C:[chr] | |
| **** 4 | "\n" | string | [chr] | ||
| *** 3 | + | concat | [int] | ||
| **** 4 | =\ | scanl | [[int]] | ||
| ***** 5 | | | filter | [int] | ||
| ****** 6 | , | range from 1 | [int] | ||
| ******* 7 | ;$ | = fstInt | int | ||
| ****** 6 | == | equal? | int | D:int | |
| ******* 7 | 2 | integer | int | ||
| ******* 7 | % | modulus | int | E:int | |
| ******** 8 | ^ | pow | int | ||
| ********* 9 | 2 | integer | int | ||
| ********* 9 | @ | = D | int | ||
| ******** 8 | @ | = D | int | ||
| ***** 5 | >> | tail | [int] | G:int F:int | |
| ****** 6 | `% | step | [int] | ||
| ******* 7 | ~ | auto = 2 | auto | ||
| ******* 7 | ; | save | [int] | H:[int] | |
| ******** 8 | `, | range from 0 | [int] | ||
| ********* 9 | ;$ | = B | int | ||
| ***** 5 | | | filter | [int] | J:int I:[int] | |
| ****** 6 | + | concat | [int] | ||
| ******* 7 | . | map | [[int]] | ||
| ******** 8 | @ | = I | [int] | ||
| ******** 8 | + | add | [int] | K:int | |
| ********* 9 | * | multiply | int | ||
| ********** 10 | ;_ | = B | int | ||
| ********** 10 | $ | = K | int | ||
| ********* 9 | ;$ | = H | [int] | ||
| ****** 6 | ~ | not | null | ||
| ****** 6 | % | modulus | int | L:int | |
| ******* 7 | | implicit arg = L | int | ||
| ******* 7 | | implicit arg = J | int | ||
| ** 2 | | implicit arg = C | [chr] |