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!)
A077148 Smallest k such that there are n numbers m relatively prime to n in range n < m < k. 1
3, 6, 8, 12, 12, 24, 16, 24, 23, 34, 24, 48, 28, 46, 44, 48, 36, 72, 40, 70, 59, 70, 48, 96, 57, 82, 68, 94, 60, 140, 64, 96, 87, 106, 87, 144, 76, 118, 102, 140, 84, 188, 88, 140, 129, 142, 96, 192, 107, 174, 132, 164, 108, 216, 130, 186, 147, 178, 120, 284, 124 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(p) = 2p+2 if p is a prime.
LINKS
EXAMPLE
a(6) = 24 as there are 6 coprime numbers to 6 between 6 and 24: 7, 11, 13, 17, 19, 23.
PROG
(PARI) for(n=1, 100, s=0:for(k=n+1, 10^8, if(gcd(k, n)==1, s=s+1: if(s==n, s=k+1:break))):print1(s", "))
CROSSREFS
Sequence in context: A160277 A080598 A233541 * A246456 A070528 A243117
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Oct 30 2002
EXTENSIONS
Corrected and extended by Ralf Stephan, Mar 26 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 March 28 05:02 EDT 2024. Contains 371235 sequences. (Running on oeis4.)