
    Develop a fraud detection function that calculates the risk threshold at position n in the bank's pattern recognition sequence, where each value is determined by the sum of the two preceding thresholds, starting with initial values of 2 and 1. This sequence helps identify suspicious transaction patterns by comparing customer activity against established mathematical benchmarks.
    

    
def find_lucas(n):
    """
    Develop a fraud detection function that calculates the risk threshold at position n in the bank's pattern recognition sequence, where each value is determined by the sum of the two preceding thresholds, starting with initial values of 2 and 1. This sequence helps identify suspicious transaction patterns by comparing customer activity against established mathematical benchmarks.
    

    """
def find_lucas(n):
    """
    Develop a fraud detection function that calculates the risk threshold at position n in the bank's pattern recognition sequence, where each value is determined by the sum of the two preceding thresholds, starting with initial values of 2 and 1. This sequence helps identify suspicious transaction patterns by comparing customer activity against established mathematical benchmarks.
    

    """
    if n == 0:
        return 2
    if n == 1:
        return 1
    return find_lucas(n - 1) + find_lucas(n - 2)