Skip to main content
1 of 2
Emigna
  • 53.2k
  • 5
  • 44
  • 164

##05AB1E, 10 bytes, George Gibson, A003215

Code:

Ds3*s1+*1+ 

Explanation:

Computes 3n(n+1)+1 which is the oeis sequence A003215.

Emigna
  • 53.2k
  • 5
  • 44
  • 164