one fable-low hijack cell
pair apl / factor
envelope code_caret
ordering BA
effort low
Code-flavored caret operator — '{X} ^ {Y}'
verdictpicked apl (first-offered)
· classifierA
· tiernone
response (200 chars)
# Prime Factorization in APL
There's no built-in `factor` in classic APL, but here are common ways to do it:
## Dyalog APL
**Using a recursive/iterative approach:**
```apl
factor ← {⍵=1: ⍬ ⋄ p←⊃(0
neighbors