Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A072994
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A072994 Number of solutions to x^n==1 (mod n) 1<=x<=n. +0
1
1, 1, 1, 2, 1, 2, 1, 4, 3, 2, 1, 4, 1, 2, 1, 8, 1, 6, 1, 8, 3, 2, 1, 8, 5, 2, 9, 4, 1, 4, 1, 16, 1, 2, 1, 12, 1, 2, 3, 16, 1, 12, 1, 4, 3, 2, 1, 16, 7, 10, 1, 8, 1, 18, 5, 8, 3, 2, 1, 16, 1, 2, 9, 32, 1, 4, 1, 8, 1, 4, 1, 24, 1, 2, 5, 4, 1, 12, 1, 32, 27, 2, 1, 24, 1, 2, 1, 8, 1, 12, 1, 4, 3 (list; graph; listen)
OFFSET

1,4

COMMENT

More generally, if the equation a(x)*m=x has solutions, solutions are congruent to m: a(x)*7=x for x=7, 14, 21, 28, 49, 56, 63, 98, 112... There are some composite values of m such that a(x)*m=x has solutions, as m=15. a(n) coincides with A009195(n) for a lot of values of n except n = 20, 30, 40, 42, 52, 60, 66, 68, 70, 78, 80, 84, 90, 100.... It seems also that for n large enough sum(k=1, n, a(k))>n*Log(n)*Log(Log(n))

LINKS

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

FORMULA

For n>0 a(A003277(n))=1 a(2^n)=2^(n-1) a(A065119(n))=A065119(n)/3 a(A026383(n+1))=A026383(n+1)/5.

PROGRAM

(PARI) a(n)=(sum(i=1, n, if((i^n-1)%n, 0, 1)))

CROSSREFS

Sequence in context: A123317 A164879 A009195 this_sequence A052126 A094521 A159272

Adjacent sequences: A072991 A072992 A072993 this_sequence A072995 A072996 A072997

KEYWORD

easy,nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Aug 21 2002

EXTENSIONS

Corrected by T. D. Noe, May 19 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 25 08:46 EST 2009. Contains 167481 sequences.


AT&T Labs Research