login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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

Table of n, a(n) for n=1..61.

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: A175769 A160277 A233541 * A246456 A070528 A243117

Adjacent sequences:  A077145 A077146 A077147 * A077149 A077150 A077151

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 5 19:56 EDT 2020. Contains 333260 sequences. (Running on oeis4.)