A290340 Numbers m such that each of the four consecutive integers m, m+1, m+2, m+3 has squarefree rank 1.
17, 241, 242, 1249, 4049, 4799, 17297, 120049, 206081, 281249, 388961, 470447, 538721, 1462049, 1566449, 1808801, 1916881, 3302449, 3302450, 3693761, 3959297, 5385761, 5664976, 6118001, 6986321, 9305297, 10479041, 14268481, 16831601, 20110481, 22997761, 27661922, 28140001
Offset: 1
Keywords
Examples
m = 17 is in the sequence as the number of odd prime exponents of each of the numbers m = 17 through m + 3 = 20 is 1. - _David A. Corneth_, Nov 06 2023
Links
- David A. Corneth, Table of n, a(n) for n = 1..10000 (first 79 terms from Jason Kimberley, a(n) for n = 80..347 from Charles R Greathouse IV)
- David A. Corneth, PARI program
Programs
-
Magma
A162642:=func
; c:=func; c(c(c([n:n in[1..10^6]|A162642(n)eq 1]))); -
PARI
list(lim)=my(u=vectorsmall(4),v=List(),s,i); forfactored(n=2,lim\1+3, if(i++>4,i=1); s-=u[i]; s+=u[i]=(vecsum(n[2][,2]%2)==1); if(s==4, listput(v,n[1]-3))); Vec(v); \\ Charles R Greathouse IV, Sep 30 2021
-
PARI
\\ See PARI link
Comments