lud=LUDecomposition[A]
Perm[v_]:=IdentityMatrix[Length[v]][[v]]
U=Upper[lud[[1]]]
L=Lower[lud[[1]]]
P=Perm[lud[[2]]]
P.L.U==A