d = D(a + 1)

24

and what is your question?