OFFSET
1,1
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Eric M. Schmidt)
Frank Luebeck, Numbers of Conjugacy Classes in Finite Groups of Lie Type.
FORMULA
Let q be the n-th prime power. Then, a(n) = q^4 + q^3 + q^2 + q + c, where c = 5 if q is even and c = 6 if q is odd.
MATHEMATICA
Map[(#^2 + 1)*(# + 1)*# + 5 + Mod[#, 2] &, Select[Range[100], PrimePowerQ]] (* Paolo Xausa, Jan 16 2025 *)
PROG
(PARI) apply(x->(x^4 + x^3 + x^2 + x + 5 + (x%2)), select(isprimepower, [1..100])) \\ Michel Marcus, Jan 16 2025
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Eric M. Schmidt, May 21 2013
STATUS
approved