Skip to main content
deleted 286 characters in body
Source Link
naffetS
  • 13.1k
  • 2
  • 22
  • 54

Fig, \$14\log_{256}(96)\approx\$ 11\$13\log_{256}(96)\approx\$ 10.524701 bytes

}S*tFmC@pLxS*-x9x9tFmC@pL 

Try it online!Try it online!

}S*tFmC@pLx-x9 F Filter mC All natural numbers @p For primes. t Lx Take len(input) items from that. * Vectorizing multiply by -x9 Subtracting each item in the input from 9. S Sum } And increment. 

-1 character thanks to Seggan

Fig, \$14\log_{256}(96)\approx\$ 11.524 bytes

}S*tFmC@pLx-x9 

Try it online!

}S*tFmC@pLx-x9 F Filter mC All natural numbers @p For primes. t Lx Take len(input) items from that. * Vectorizing multiply by -x9 Subtracting each item in the input from 9. S Sum } And increment. 

Fig, \$13\log_{256}(96)\approx\$ 10.701 bytes

}S*-x9tFmC@pL 

Try it online!

-1 character thanks to Seggan

Source Link
naffetS
  • 13.1k
  • 2
  • 22
  • 54

Fig, \$14\log_{256}(96)\approx\$ 11.524 bytes

}S*tFmC@pLx-x9 

Try it online!

}S*tFmC@pLx-x9 F Filter mC All natural numbers @p For primes. t Lx Take len(input) items from that. * Vectorizing multiply by -x9 Subtracting each item in the input from 9. S Sum } And increment.