######################################################### # # # Coded by Indranil Ghosh (indranilg49@gmail.com) # # # ######################################################### #Python 2.7.11, OEIS sequence: A275723 from sympy import prime, factorial as f def a007623(n, p=2): return n if n