The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A216731 Primes p such that there is no power of 3 in the open interval (2p, 3p). 0
5, 7, 17, 19, 23, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Is this (apart from 2) the subset of primes in A134026? - R. J. Mathar, Sep 17 2012
LINKS
Christian Salas, Cantor Primes as Prime-Valued Cyclotomic Polynomials, arXiv preprint arXiv:1203.3969, 2012.
MAPLE
isA216731 := proc(n)
if isprime(n) then
floor(log[3](2*n)) = floor(log[3](3*n)) ;
else
false;
end if;
end proc:
for n from 2 to 250 do
p := ithprime(n) ;
if isA216731(p) then
printf("%d, ", p) ;
end if;
end do: # R. J. Mathar, Sep 17 2012
MATHEMATICA
isA216731[n_] := If[PrimeQ[n], Floor[Log[3, 2*n]] == Floor[Log[3, 3*n]], False]; Reap[For[n = 2, n <= 100, n++, p = Prime[n]; If[isA216731[p], Print[p]; Sow[p]]]][[2, 1]] (* Jean-François Alcover, Mar 06 2014, after R. J. Mathar *)
CROSSREFS
Sequence in context: A140564 A253085 A078764 * A363752 A045318 A040102
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Sep 17 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 19:21 EDT 2024. Contains 373134 sequences. (Running on oeis4.)