The graph is empty for n = 0, 1 and 2, so a(n) = 0 by convention (or should it be 1?).
REFERENCES
A. Iranmanesh and A. Jafarzadeh, On the commuting graph associated with the symmetric and alternating groups, J. Algebra and Applic., 7 (2008), 129-146.