Let the numbers that are in A.P are
a−3d,a−d,a+d,a+3d
Given sum =20
⇒a−3d+a−d+a+d+a+3d=20⇒4a=20⇒a=5
Also (a−3d)(a+3d)(a−d)(a+d)=23
⇒(5−3d)(5+3d)(5−d)(5+d)=23⇒25−9d225−d2=23⇒75−27d2=50−2d2⇒25=25d2⇒d=±1
So two sequences can be formed with a=5 and d=±1 that are
2,4,6,8 and 8,6,4,2