Okay this might be a dumb question but here it goes. 

Does it at all make sense to invest in a Roth IRA contributing the max by taking out a loan. So say I take out a $6k loan at the beginning of the year each January, then I pay it back throughout the year. Until the next year roles around then I do the same thing by having the loan length be only 1 year.

[Hypothetical 5 Year 6k contribution each year][1]

[Hypothetical 5 year 500$ a month contribution][2]


  [1]: https://i.sstatic.net/Fn4ae.png
  [2]: https://i.sstatic.net/LiEUe.png

I would still have to take into consideration on how much of % the loan would be and subtract it, but by my calculations it looks like the 6k each year would be better in the long run. I believe I am missing something or have not thought it all through. What am I missing?