Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A125748
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A125748 a(n) is the smallest positive integer such that sum{1<=k<=a(n), GCD(k,n)=1} k is >= n. +0
3
1, 3, 2, 3, 3, 5, 4, 5, 5, 7, 5, 7, 5, 9, 8, 7, 6, 11, 6, 9, 10, 9, 7, 11, 8, 11, 8, 11, 8, 13, 8, 11, 10, 11, 11, 13, 9, 13, 11, 13, 9, 17, 9, 15, 13, 13, 10, 17, 11, 17, 13, 17, 10, 17, 13, 15, 13, 15, 11, 19, 11, 15, 16, 15, 14, 23, 12, 19, 14, 19, 12, 19, 12, 17, 16, 17, 15, 23, 13 (list; graph; listen)
OFFSET

1,2

LINKS

Leroy Quet, Home Page (listed in lieu of email address)

EXAMPLE

The positive integers which are coprime to 12 are 1,5,7,11,13,... Now 1+5 = 6, which is less than 12; but 1+5+7 is 13, which is >= 12. So a(12) = 7.

MATHEMATICA

f[n_] := Block[{k = 1}, While[Plus @@ Select[Range[k], GCD[ #, n] == 1 &] < n, k++ ]; k]; Table[f[n], {n, 80}] (*Chandler*)

CROSSREFS

Cf. A125749, A117893.

Sequence in context: A035093 A061266 A111114 this_sequence A058680 A070544 A087713

Adjacent sequences: A125745 A125746 A125747 this_sequence A125749 A125750 A125751

KEYWORD

nonn

AUTHOR

Leroy Quet Dec 06 2006

EXTENSIONS

Extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Dec 11 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 10 00:48 EST 2009. Contains 170565 sequences.


AT&T Labs Research