
    Design a function that determines the credit score milestone value at position n in the bank's proprietary credit assessment sequence, where each value follows the Newman-Shanks-Williams prime pattern to establish key evaluation thresholds. The sequence is used by the bank's algorithm to define critical credit score checkpoints, with each subsequent value calculated using the same mathematical relationship as Newman-Shanks-Williams primes.
    

    
def newman_prime(n):
    """
    Design a function that determines the credit score milestone value at position n in the bank's proprietary credit assessment sequence, where each value follows the Newman-Shanks-Williams prime pattern to establish key evaluation thresholds. The sequence is used by the bank's algorithm to define critical credit score checkpoints, with each subsequent value calculated using the same mathematical relationship as Newman-Shanks-Williams primes.
    

    """
def newman_prime(n):
    """
    Design a function that determines the credit score milestone value at position n in the bank's proprietary credit assessment sequence, where each value follows the Newman-Shanks-Williams prime pattern to establish key evaluation thresholds. The sequence is used by the bank's algorithm to define critical credit score checkpoints, with each subsequent value calculated using the same mathematical relationship as Newman-Shanks-Williams primes.
    

    """
    if n == 0 or n == 1:
        return 1
    return 2 * newman_prime(n - 1) + newman_prime(n - 2)