# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a093722 Showing 1-1 of 1 %I A093722 #27 Jul 30 2019 10:58:21 %S A093722 0,1,3,7,8,14,20,29,31,42,52,66,69,85,99,118,122,143,161,185,190,216, %T A093722 238,267,273,304,330,364,371,407,437,476,484,525,559,603,612,658,696, %U A093722 745,755,806,848,902,913,969,1015,1074,1086,1147,1197,1261,1274,1340 %N A093722 Integers of the form (n^2 - 1) / 120. %C A093722 This is "one-fifteenth of triangular numbers (integers only)". - _Vladimir Joseph Stephan Orlovsky_, Mar 04 2009 %H A093722 Harry J. Smith, Table of n, a(n) for n = 1..20000 %H A093722 Index entries for linear recurrences with constant coefficients, signature (1,0,0,2,-2,0,0,-1,1). %F A093722 |A113430(n-1)| is the characteristic function of the numbers in A093722. %F A093722 a(-1 - n) = a(n). a(n) = (A057538(n) * 2 - 1) / 120. %F A093722 G.f. -x^2*(1+2*x+4*x^2+x^3+4*x^4+x^6+2*x^5) / ( (1+x)^2*(x^2+1)^2*(x-1)^3 ). - _R. J. Mathar_, Jun 09 2013 %t A093722 lst={};s=0;Do[s+=n/15;If[Floor[s]==s,AppendTo[lst,s]],{n,0,7!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Mar 04 2009 *) %t A093722 Select[Table[(n^2-1)/120,{n,0,700}],IntegerQ] (* _Harvey P. Dale_, Nov 26 2010 *) %o A093722 (PARI) {a(n) = (((n\4 * 3 + n%4) * 10 + (-1)^(n\2))^2 - 1) / 120 } /* _Michael Somos_, Oct 17 2006 */ %o A093722 (PARI) { for (n=0, 19999, a=(((n\4*3 + n%4)*10 + (-1)^(n\2))^2 - 1)/120; write("b093722.txt", n+1, " ", a); ) } \\ Harry J. Smith, Jun 18 2009 %Y A093722 Cf. A002381, A057538, A113430. %K A093722 nonn,easy %O A093722 1,3 %A A093722 _Michael Somos_, Apr 13 2004 %E A093722 More terms from _Harvey P. Dale_, Nov 26 2010 %E A093722 Offset corrected to 1 by _Ray Chandler_, Jul 29 2019 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE