For an integer n≥3 and a permutation σ=(p1,p2,⋯,pn) of {1,2,⋯,n}, we say pl is a landmark point if 2≤l≤n−1 and (pl−1−pl)(pl+1−pl)>0. For example , for n=7,\\
the permutation (2,7,6,4,5,1,3) has four landmark points: p2=7, p4=4, p5=5 and p6=1. For a given n≥3 , let L(n) denote the number of permutations of {1,2,⋯,n} with exactly one landmark point. Find the maximum n≥3 for which L(n) is a perfect square.