a=[a]+{a}. Let [a]=n and {a}=f, where f∈[0,1).
Equation: ∣2(n+f)−1∣=3n+2f.
Case 1: 2a−1≥0⟹a≥1/2
2n+2f−1=3n+2f⟹n=−1.
Since a=n+f=−1+f, the max value is <0, which contradicts a≥1/2. No solution.
Case 2: 2a−1<0⟹a<1/2
−(2n+2f−1)=3n+2f⟹1−2n−2f=3n+2f⟹4f=1−5n.
Since 0≤f<1, then 0≤41−5n<1.
• 1−5n<4⟹−3<5n⟹n>−0.6
• 1−5n≥0⟹5n≤1⟹n≤0.2
The only integer n in this range is n=0.
If n=0, 4f=1⟹f=1/4.
a=0+1/4=1/4.
Sum of a∈S is 1/4.
72×(1/4)=18.