Skip to main content
1 of 7
smls
  • 4.5k
  • 15
  • 19

Perl 6, 50 bytes

{(map((5***).comb[*-$_],1..*)X//|(),)[^(2**$_/4)]}

Try it online!

smls
  • 4.5k
  • 15
  • 19