A274241 Numbers n such that there is a smaller positive number j == n (mod 11) such that sqrt(j*n) is an integer.
36, 44, 49, 64, 72, 81, 88, 98, 99, 100, 108, 128, 132, 144, 147, 162, 169, 176, 180, 192, 196, 198, 200, 216, 220, 225, 243, 245, 252, 256, 264, 275, 288, 289, 294, 297, 300, 308, 320, 324, 338, 343, 352, 360, 361, 384, 392, 396, 400, 405, 432, 440, 441, 448
Offset: 1
Examples
49 is member, since 16 == 49 (mod 11) and 16*49 is a square. 108 is member, since 75 == 108 (mod 11) and 75*108 is a square.
Links
- David A. Corneth, Table of n, a(n) for n = 1..10000
- David A. Corneth, n, a(n) and j as described in name for n = 1..10000
Programs
-
Mathematica
Select[Range@500, Function[n, AnyTrue[Range[n - 1], And[Mod[#, 11] == Mod[n, 11], IntegerQ@ Sqrt[# n]] &]]] (* Michael De Vlieger, Jun 23 2016, Version 10 *)
-
PARI
is(n) = for(j=1, n-1, if(Mod(j, 11)==n && issquare(j*n), return(1))); return(0) \\ Felix Fröhlich, Jun 15 2016
-
PARI
is(n)=my(f=factor(n)); f[,2]=f[,2]%2; t=prod(i=1,matsize(f)[1], f[i,1] ^ f[i,2]); for(i=1,sqrtint((n-1)\t), if(Mod(t*i^2, 11)==n,return(1))); 0 \\ David A. Corneth, Jun 26 2016
Extensions
More terms from Felix Fröhlich, Jun 15 2016
Comments