Wolfram Hüttermann has authored 3 sequences.
A289690
Least k such that there are exactly n perfect powers between 10k and 10k + 10.
Original entry on oeis.org
If n=2, then there are 2 power numbers between 20 and 30: 25 and 27, and this is the least k with this property.
-
a(n)=my(k=0); while(sum(j=10*k+1, 10*k+9, (j==1) || ispower(j)) !=n, k++); k; \\ Michel Marcus, Jul 20 2017
A282059
Numbers k where there are 8 primes between 10*k and 10*k + 30.
Original entry on oeis.org
1, 8879, 28472, 85571, 114677, 656099, 1576009, 2565844, 6915653, 7426625, 9362599, 18240349, 21803372, 22644952, 26167277, 30254276, 66197230, 91093591, 96466961, 104209078, 107132278, 117022186, 134030186, 139402516, 140053322, 142247591, 145927027
Offset: 1
There are eight primes between 88790 and 88820: 88793, 88799, 88801, 88807, 88811, 88813, 88817, 88819. Therefore 8879 is in the sequence.
For the Dickson conjecture see
A020497.
A279862
a(n) = the smallest integer k where there are exactly n primes between 10k and 10k+100.
Original entry on oeis.org
37027, 15590, 3562, 3561, 1881, 1856, 735, 588, 132, 131, 188, 111, 89, 47, 44, 32, 20, 11, 9, 8, 5, 3, 2
Offset: 0
For n = 1 there is only one prime between 155900 and 156000: 155921.
For the Dickson conjecture, see
A020497.
-
for n from 1 to 10^5 do
T[n]:= nops(select(isprime, [$10*n+1 ..10*n+9]))
od:
for k from 1 to 10^5-10 do
v:= add(T[k+j],j=0..9):
if not assigned(A[v]) then A[v]:= k fi
od:
seq(A[n],n=0..22); # Robert Israel, Jul 12 2017
-
Function[s, -1 + Flatten@ Table[FirstPosition[s, n] /. k_ /; MissingQ@ k -> 0, {n, 0, Max@ s}]]@ Table[Count[Range[10 k, 10 k + 100], ?PrimeQ], {k, 0, 10^5}] (* _Michael De Vlieger, Jul 12 2017; program writes "-1" for a(23) and a(24). *)
-
a(n) = my(k=0); while(1, if(primepi(10*k+100)-primepi(10*k)==n, return(k)); k++) \\ Felix Fröhlich, Jul 12 2017
-
a(n)=my(k); while(sum(p=10*k+1,10*k+99,isprime(p))!=n, k++); k \\ Charles R Greathouse IV, Jul 12 2017
Comments