Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132009
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132009 a(1) = 1; for n>=2, a(n) = n-th positive integer which is coprime to the largest prime divisor of n. +0
1
1, 3, 4, 7, 6, 8, 8, 15, 13, 12, 12, 17, 14, 16, 18, 31, 18, 26, 20, 24, 24, 24, 24, 35, 31, 28, 40, 32, 30, 37, 32, 63, 36, 36, 40, 53, 38, 40, 42, 49, 42, 48, 44, 48, 56, 48, 48, 71, 57, 62, 54, 56, 54, 80, 60, 65, 60, 60, 60, 74, 62, 64, 73, 127, 70, 72, 68, 72, 72, 81, 72, 107 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n)=A126572(A006530(n),n). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 09 2007

EXAMPLE

The largest prime dividing 12 is 3. The positive integers which are coprime to 3 are 1,2,4,5,7,8,10,11,13,14,16,17,19,20,... The 12th of these is 17, so a(12) = 17.

MAPLE

A126572 := proc(n, k) local f, i ; f := 1 ; for i from 1 do if gcd(i, n) = 1 then if f = k then RETURN(i) ; fi ; f := f+1 ; fi ; od: end: A006530 := proc(n) if n = 1 then 1; else max(seq(op(1, i), i=ifactors(n)[2]) ) ; fi ; end: A132009 := proc(n) local p ; p := A006530(n) ; A126572(p, n) ; end: seq(A132009(n), n=1..100) ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 09 2007

MATHEMATICA

a = {1}; For[n = 2, n < 70, n++, b = FactorInteger[n][[ -1, 1]]; c = 0; i = 1; While[c < n, If[GCD[i, b] == 1, c++ ]; i++ ]; AppendTo[a, i - 1]]; a - Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Nov 04 2007

CROSSREFS

Sequence in context: A023888 A117553 A120224 this_sequence A086455 A096842 A147966

Adjacent sequences: A132006 A132007 A132008 this_sequence A132010 A132011 A132012

KEYWORD

nonn

AUTHOR

Leroy Quet (q1qq2qqq3qqqq(AT)yahoo.com), Oct 29 2007

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com) and R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 04 2007

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 3 01:16 EST 2008. Contains 151161 sequences.


AT&T Labs Research