Driver Code
public static void Main ( ) { int [ ] arr = { 1 , 2 , 3 , 4 , 7 , 13 } ; int n = arr . Length ; int D = 5 , A = 4 , B = 2 ; Console . WriteLine ( findPossibleDerivables ( arr , n , D , A , B ) ) ; int [ ] a = { 1 , 2 , 3 } ; n = a . Length ; D = 6 ; A = 3 ; B = 2 ; Console . WriteLine ( findPossibleDerivables ( a , n , D , A , B ) ) ; } }