You are a chemist. Please follow the instructions to convert the structure to the corresponding name.
system
Translate the chemical IUPAC name 4-[2-(1-butyl-3,3-dimethylindol-1-ium-2-yl)ethenyl]-N,N-dimethylaniline into its molecular formula.
user
C24H31N2+
assistant