Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072109
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072109 Numbers n such that sum(i=1,n,gcd(n,i)) divides sum(i=1,n,lcm(n,i)). +0
2
1, 4, 36, 125, 469, 536, 882, 1156, 8532, 8775, 25012, 32000, 34749, 36324, 37179, 61952, 147456, 405224, 451584, 644304, 954084, 1185921 (list; graph; listen)
OFFSET

1,2

FORMULA

n such that A018804(n) divides A051193(n)

MAPLE

with(numtheory): for n from 1 to 10^6 do a := divisors(n): s1 := add(a[m]*phi(a[m]), m=1..nops(a)): s2 := add(phi(a[m])/a[m], m=1..nops(a)): if type((s1+1)/(2*s2), integer) then printf(`%d, `, n); fi: od:

MATHEMATICA

f[n_] := (k = n; While[ !IntegerQ[ Sum[ LCM[k, i], {i, 1, k}] / Sum[ GCD[k, i], {i, 1, k}]], k++ ]; k); j = 1; Do[ m = f[j]; Print[m]; j = m + 1, {n, 1, 9}]

PROGRAM

(PARI) for(n=1, 1156, if(sum(i=1, n, lcm(n, i))%sum(i=1, n, gcd(n, i))==0, print1(n, ", ")))

CROSSREFS

Sequence in context: A016826 A038688 A076830 this_sequence A045490 A060783 A125756

Adjacent sequences: A072106 A072107 A072108 this_sequence A072110 A072111 A072112

KEYWORD

more,nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Jun 19 2002

EXTENSIONS

Edited by Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 22 2002

More terms from Vladeta Jovovic (vladeta(AT)Eunet.yu), Jun 22 2002

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 July 6 17:22 EDT 2008. Contains 140988 sequences.


AT&T Labs Research