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!)
A087268 Solutions to gcd(x, pi(x)) = 1, where pi is A000720. 2
1, 2, 3, 5, 7, 9, 11, 12, 13, 17, 18, 19, 21, 23, 25, 26, 28, 29, 31, 32, 34, 35, 36, 37, 41, 42, 43, 45, 47, 49, 52, 53, 55, 57, 59, 60, 61, 65, 67, 68, 69, 70, 71, 73, 74, 76, 79, 81, 83, 84, 85, 86, 87, 88, 89, 91, 95, 97, 98, 99, 101, 103, 104, 106, 107, 109, 110, 111 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
All primes are included.
MATHEMATICA
Flatten[Position[Table[GCD[w, PrimePi[w]], {w, 1, 256}], 1]
PROG
(PARI) isok(n) = gcd(n, primepi(n)) == 1; \\ Michel Marcus, Apr 22 2018
CROSSREFS
Sequence in context: A069149 A042996 A073040 * A106765 A190785 A186290
KEYWORD
nonn
AUTHOR
Labos Elemer, Sep 16 2003
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 April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)