Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126865
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126865 a(n) = GCD(product{p|n}(p+1)^b(p,n), product{p|n}(p-1)^b(p,n)), where the products are over the distinct primes, p, that divide n and p^b(p,n) is the highest power of p dividing n. +0
1
1, 1, 2, 1, 2, 2, 2, 1, 4, 2, 2, 2, 2, 6, 8, 1, 2, 4, 2, 2, 4, 2, 2, 2, 4, 6, 8, 6, 2, 8, 2, 1, 4, 2, 24, 4, 2, 6, 8, 2, 2, 12, 2, 2, 16, 2, 2, 2, 4, 4, 8, 6, 2, 8, 8, 6, 4, 2, 2, 8, 2, 6, 8, 1, 12, 4, 2, 2, 4, 24, 2, 4, 2, 6, 16, 18, 12, 24, 2, 2, 16, 2, 2, 12, 4, 6, 8, 2, 2, 16, 8, 2, 4, 2, 24, 2, 2, 12, 8 (list; graph; listen)
OFFSET

1,3

COMMENT

First occurrence of k or 0 if not possible (including all odd primes k): 2, 1, 0, 9, 0, 14, 0, 15, 0, 0, 0, 42, 0, 0, 0, 45, 0, 76, 0, 589, 0, 0, 0, 35, 0, 0, 0, 4381, 0, 0, ..., . - Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 08 2007

LINKS

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

EXAMPLE

400 = 2^4 * 5^2. So a(400) = GCD((2+1)^4 (5+1)^2, (2-1)^4 (5-1)^2) = GCD(2916, 16) = 4.

MATHEMATICA

f[n_] := Block[{fi = FactorInteger@n}, GCD[Times @@ ((First /@ fi - 1)^Last /@ fi), Times @@ ((First /@ fi + 1)^Last /@ fi)]]; Array[f, 99] - Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 08 2007

CROSSREFS

Cf. A003958, A003959.

Sequence in context: A158946 A023645 A054571 this_sequence A104640 A016727 A054992

Adjacent sequences: A126862 A126863 A126864 this_sequence A126866 A126867 A126868

KEYWORD

nonn

AUTHOR

Leroy Quet, Mar 15 2007

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 08 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 November 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research