Search: id:A056944 Results 1-1 of 1 results found. %I A056944 %S A056944 0,1,2,2,2,4,3,2,4,6,4,2,4,6,8,5,2,4,6,8,10,6,2,4,6,8,10,12,7,2,4,6,8, %T A056944 10,12,14,8,2,4,6,8,10,12,14,16,9,2,4,6,8,10,12,14,16,18,10,2,4,6,8,10, %U A056944 12,14,16,18,20,11,2,4,6,8,10,12,14,16,18,20,22,12,2,4,6,8,10,12,14,16 %N A056944 Amount by which used area of rectangle needed to enclose a non-touching spiral of length n on a square lattice exceeds unused area. %C A056944 m (when n is m-th triangular number) followed by m even numbers from 2 through 2m. %F A056944 a(n) =2n-floor[(sqrt(8n+1)-1)/2]*ceiling[(sqrt(8n+1)-1)/2] =2n-A002024(n)*A003056(n) =2n-A056942(n) =n-A056943(n). If n=t(t+1)/2 then a(n)=t; if n=t(t+1)/ 2+k with 0