login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A306585 Start with n and find the LCM of n and A140635(n), and continue until you have a number where A140635(m) = m. 0
1, 2, 6, 4, 120, 6, 840, 24, 36, 120, 83160, 12, 1081080, 840, 120, 16, 294053760, 36, 5587021440, 60, 840, 83160, 128501493120, 24, 900, 1081080, 7560, 2520, 93163582512000, 120, 2888071057872000, 10080, 83160, 294053760, 840, 36, 106858629141264000 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

EXAMPLE

a(5) = 120 because:

A140635(5) = 2 and LCM of 5 and 2 is 10

A140635(10) = 6 and LCM of 10 and 6 is 30

A140635(30) = 24 and LCM of 30 and 24 is 120

A140635(120) = 120 so a(5) = 120.

PROG

(PARI)

s(n) = my(nd=numdiv(n)); for(k=1, n, if(numdiv(k) == nd, return(k))); \\ A140635

a(n) = my(m=n, t=s(n)); while(1, m=lcm(m, t); t=s(m); if(m==t, return(m))); \\ Daniel Suteu, Feb 25 2019

CROSSREFS

Cf. A140635, A005179.

Sequence in context: A072513 A022404 A210420 * A118138 A240023 A004583

Adjacent sequences:  A306582 A306583 A306584 * A306586 A306587 A306588

KEYWORD

nonn

AUTHOR

J. Lowell, Feb 25 2019

EXTENSIONS

More terms from Rémy Sigrist, Feb 25 2019

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 August 20 03:48 EDT 2019. Contains 326139 sequences. (Running on oeis4.)