Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A063994
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A063994 Product_{primes p dividing n } GCD(p-1, n-1). +0
2
1, 1, 2, 1, 4, 1, 6, 1, 2, 1, 10, 1, 12, 1, 4, 1, 16, 1, 18, 1, 4, 1, 22, 1, 4, 1, 2, 3, 28, 1, 30, 1, 4, 1, 4, 1, 36, 1, 4, 1, 40, 1, 42, 1, 8, 1, 46, 1, 6, 1, 4, 3, 52, 1, 4, 1, 4, 1, 58, 1, 60, 1, 4, 1, 16, 5, 66, 1, 4, 3, 70, 1, 72, 1, 4, 3, 4, 1, 78, 1, 2, 1, 82, 1, 16, 1, 4, 1, 88, 1, 36, 1 (list; graph; listen)
OFFSET

1,3

COMMENT

a(n) = number of bases b mod n for which b^{n-1} = 1 mod n.

REFERENCES

Baillie and Wagstaff, Mathematics of Computation, 35 (1980), 1391-1417.

P. Erdos and C. Pomerance, Mathematics of Computation, 46 (1986), 259-279.

Keith Gibson, posting to Number Theory List, Sep 07, 2001.

Carl Pomerance, posting to Number Theory List, Sep 07, 2001.

LINKS

T. D. Noe, Table of n, a(n) for n=1..1000

W. R. Alford, A. Granville and C. Pomerance, There are infinitely many Carmichael numbers, Ann. of Math. (2) 139 (1994), no. 3, 703-722.

MATHEMATICA

f[n_ ] := If[n == 1, 1, Apply[ Times, GCD[n - 1, Transpose[ FactorInteger[n]] [[1]] - 1]]]; Table[f[n], {n, 1, 100} ]

PROGRAM

(PARI) { for (n=1, 1000, f=factor(n)~; a=1; for (i=1, length(f), a*=gcd(f[1, i] - 1, n - 1)); write("b063994.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 05 2009]

CROSSREFS

Cf. A002997.

Sequence in context: A060680 A057237 A049559 this_sequence A076512 A128707 A161510

Adjacent sequences: A063991 A063992 A063993 this_sequence A063995 A063996 A063997

KEYWORD

nonn,easy,nice

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com), Sep 18 2001

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 21 2001

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 24 14:25 EST 2009. Contains 167438 sequences.


AT&T Labs Research