Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A137924
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A137924 a(n) = the largest divisor of A002808(n) that is coprime to n. (A002808(n) = the n-th composite.). +0
2
4, 3, 8, 9, 2, 1, 2, 15, 16, 9, 20, 7, 22, 3, 1, 13, 27, 7, 30, 1, 11, 17, 35, 1, 38, 3, 40, 3, 44, 1, 46, 3, 49, 25, 51, 13, 54, 55, 56, 57, 58, 5, 62, 63, 64, 65, 66, 17, 69, 7, 8, 37, 75, 19, 7, 39, 80, 81, 82, 7, 85, 43, 29, 11, 18, 91, 92, 93, 94, 19, 96, 49, 99, 25, 34, 13, 15, 53 (list; graph; listen)
OFFSET

1,1

LINKS

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

EXAMPLE

The 12th composite is 21. The divisors of 21 are 1,3,7,21. The divisors of 21 that are coprime to 12 are 1 and 7. 7 is the largest of these; so a(12) = 7.

MAPLE

A002808 := proc(n) option remember ; local a; if n = 1 then 4; else for a from A002808(n-1)+1 do if not isprime(a) then RETURN(a) ; fi ; od: fi ; end: A137924 := proc(n) local dvs, d ; dvs := sort(convert(numtheory[divisors](A002808(n)), list), `>`) ; for d in dvs do if gcd(d, n) = 1 then RETURN(d) ; fi ; od: end: seq(A137924(n), n=1..80) ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Mar 03 2008

MATHEMATICA

a = {}; c = 4; For[n = 1, n < 80, n++, AppendTo[a, Select[Divisors[c], GCD[ #, n] == 1 &][[ -1]]]; If[PrimeQ[c + 1], c = c + 2, c = c + 1]]; a - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Mar 09 2008

CROSSREFS

Cf. A137925.

Sequence in context: A021699 A131416 A004125 this_sequence A105185 A165739 A137503

Adjacent sequences: A137921 A137922 A137923 this_sequence A137925 A137926 A137927

KEYWORD

nonn

AUTHOR

Leroy Quet Feb 23 2008

EXTENSIONS

More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl) and Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Mar 03 2008

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research