Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Search an ordered list at speed logarithmic in the length of a list
gives the index of the first element of list that is True.
gives the index of the first element of list for which f is True.
Find the first integer which has at least 1050 partitions:
An exact match returns an integer and this happens if func returns zero on the desired element:
In this case there is no match, so SearchOrderedList says it would have fallen between elements 91 and 92:
This work is licensed under a Creative Commons Attribution 4.0 International License