Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126795
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126795 a(n) = GCD(n, product{p|n}(p+1)), where the product is over the distinct primes, p, that divide n. +0
1
1, 1, 1, 1, 1, 6, 1, 1, 1, 2, 1, 12, 1, 2, 3, 1, 1, 6, 1, 2, 1, 2, 1, 12, 1, 2, 1, 4, 1, 6, 1, 1, 3, 2, 1, 12, 1, 2, 1, 2, 1, 6, 1, 4, 3, 2, 1, 12, 1, 2, 3, 2, 1, 6, 1, 8, 1, 2, 1, 12, 1, 2, 1, 1, 1, 6, 1, 2, 3, 2, 1, 12, 1, 2, 3, 4, 1, 6, 1, 2, 1, 2, 1, 12, 1, 2, 3, 4, 1, 18, 7, 4, 1, 2, 5, 12, 1, 2, 3, 2, 1 (list; graph; listen)
OFFSET

1,6

COMMENT

a(n) = GCD(n,A048250(n)).

First occurrence of k: 1, 10, 15, 28, 95, 6, 91, 56, 153, 190, 473, 12, 1339, 182, 285, 496, 1139, 90, 703, 380, ..., . - Robert G. Wilson v.

EXAMPLE

The distinct primes that divide 28 are 2 and 7. So a(28) = GCD(28, (2+1)(7+1)) = GCD(28, 24) = 4.

MAPLE

with(numtheory): a:=proc(n) local fs: fs:=factorset(n): gcd(n, product(1+fs[i], i=1..nops(fs))) end: seq(a(n), n=1..120); - Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 27 2007

MATHEMATICA

f[n_] := GCD[n, Times @@ (First /@ FactorInteger[n] + 1)]; Array[f, 101] (* Robert G. Wilson v *)

CROSSREFS

Cf. A048250.

Adjacent sequences: A126792 A126793 A126794 this_sequence A126796 A126797 A126798

Sequence in context: A040037 A009194 A007732 this_sequence A064793 A034460 A063919

KEYWORD

nonn

AUTHOR

Leroy Quet (qq-quet(AT)mindspring.com), Mar 14 2007

EXTENSIONS

More terms from Emeric Deutsch (deutsch(AT)duke.poly.edu), Mar 27 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 October 13 09:05 EDT 2008. Contains 145008 sequences.


AT&T Labs Research