The driving, arpeggiated viola riff in OneRepublic's "Secrets" (key of A minor) is the song's signature hook. Here are the repeating note patterns, written in scientific pitch notation (A3 = A below middle C). The ostinato cycles through these sequences:
A3, D3, A4, D4, A4, D4, G4, F#3 A3, D3, A4, D4, A4, D4, G4, F#3 G3, C#4, G4, C#4, G4, C#4, F#4, E4 E4, A3, E4, A3, E4, A3, D4, C#4
This riff is essentially a baroque-style continuo pattern transplanted into modern pop-rock. Master the loop, lock in with the kick drum, and you've got the engine of the track.