# part 1 ≠intps←5⋆˜1+↕100 ⌊⌾(1000⊸×) {((𝕩⋆(1-n))×a÷n)+𝕩×(-⟜1÷⊢)n}⍟3 x0←intps⊑∘⍋ ⊑a‿n←248832‿5