This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A007674 M1322 #49 Mar 22 2024 19:25:27 %S A007674 1,2,5,6,10,13,14,21,22,29,30,33,34,37,38,41,42,46,57,58,61,65,66,69, %T A007674 70,73,77,78,82,85,86,93,94,101,102,105,106,109,110,113,114,118,122, %U A007674 129,130,133,137,138,141,142,145 %N A007674 Numbers m such that m and m+1 are squarefree. %C A007674 m and m+1 squarefree implies that m*(m+1) is a squarefree oblong number and that m*(m+1)/2 is a squarefree triangular number. - _Daniel Forgues_, Aug 18 2012 %C A007674 Numbers m such that A002378(m) is squarefree. - _Thomas Ordowski_, Sep 01 2015 %D A007674 P. R. Halmos, Problems for Mathematicians Young and Old. Math. Assoc. America, 1991, p. 28. %D A007674 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence). %H A007674 T. D. Noe, <a href="/A007674/b007674.txt">Table of n, a(n) for n = 1..1000</a> %H A007674 L. Carlitz, <a href="https://doi.org/10.1093/qmath/os-3.1.273">On a problem in additive arithmetic II</a>, Quarterly Journal of Mathematics 3 (1932), pp. 273-290. %H A007674 Thomas Reuss, <a href="https://arxiv.org/abs/1212.3150">Pairs of k-free numbers, consecutive square-full numbers</a>, arXiv:1212.3150 [math.NT], 2012-2014. %F A007674 A008966(a(n))*A008966(a(n)+1) = 1. - _Reinhard Zumkeller_, Dec 03 2009 %F A007674 a(n) ~ k*n, where k = 1/A065474. This result is originally due to Carlitz; for the (current) best error term, see Reuss. - _Charles R Greathouse IV_, Aug 10 2011, expanded Sep 18 2019 %t A007674 ff = {}; gg = {}; Do[kk = FactorInteger[n]; tak = False; Do[If[kk[[m]][[2]] > 1, tak = True], {m, 1, Length[kk]}]; If[tak == False, jj = FactorInteger[n + 1]; tak1 = False; Do[If[jj[[m]][[2]] > 1, tak1 = True], {m, 1, Length[jj]}]; If[tak1 == False, AppendTo[ff, n]]], {n, 1, 500}]; ff (* _Artur Jasinski_, Jan 28 2010 *) %t A007674 Select[Range[400],SquareFreeQ[#(#+1)]&] (* _Vladimir Joseph Stephan Orlovsky_, Mar 30 2011 *) %o A007674 (PARI) list(lim)=my(v=vectorsmall(lim\1,i,1),u=List()); for(n=2, sqrt(lim), forstep(i=n^2,lim,n^2, v[i]=v[i-1]=0)); for(i=1,lim, if(v[i], listput(u,i))); v=0; Vec(u) \\ _Charles R Greathouse IV_, Aug 10 2011 %Y A007674 Cf. A005117, A013929, A172186, A172187. %K A007674 nonn,easy %O A007674 1,2 %A A007674 _N. J. A. Sloane_, _Robert G. Wilson v_ %E A007674 Initial 1 added at the suggestion of _Zak Seidov_, Sep 19 2007