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!)
A122259 Primes p such that p - 1 is not 3-smooth. 5
11, 23, 29, 31, 41, 43, 47, 53, 59, 61, 67, 71, 79, 83, 89, 101, 103, 107, 113, 127, 131, 137, 139, 149, 151, 157, 167, 173, 179, 181, 191, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Pierpont Prime
FORMULA
A122257(a(n)) = 0;
A006530(a(n) - 1) > 3.
a(n) ~ n log n. - Charles R Greathouse IV, Oct 29 2018
MATHEMATICA
smooth3Q[n_] := n == 2^IntegerExponent[n, 2]*3^IntegerExponent[n, 3];
Select[Prime[Range[100]], !smooth3Q[#-1]&] (* Jean-François Alcover, Oct 17 2021 *)
PROG
(PARI) is(n)=my(q=n-1); q>>=valuation(q, 2); q/=3^valuation(q, 3); q>1 && isprime(n) \\ Charles R Greathouse IV, Oct 29 2018
CROSSREFS
Sequence in context: A226662 A205714 A061752 * A157173 A257318 A090423
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Aug 29 2006
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 August 22 10:30 EDT 2024. Contains 375369 sequences. (Running on oeis4.)