Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089631
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089631 a(n) = (Product_{p is a prime factor of n} p)) mod (Product_{p is a prime factor of n} p-1). +0
1
0, 1, 0, 1, 0, 1, 0, 1, 2, 1, 0, 1, 2, 7, 0, 1, 0, 1, 2, 9, 2, 1, 0, 1, 2, 1, 2, 1, 6, 1, 0, 13, 2, 11, 0, 1, 2, 15, 2, 1, 6, 1, 2, 7, 2, 1, 0, 1, 2, 19, 2, 1, 0, 15, 2, 21, 2, 1, 6, 1, 2, 9, 0, 17, 6, 1, 2, 25, 22, 1, 0, 1, 2, 7, 2, 17, 6, 1, 2, 1, 2, 1, 6, 21, 2, 31, 2, 1, 6, 19, 2, 33, 2, 23, 0, 1, 2, 13 (list; graph; listen)
OFFSET

2,9

COMMENT

It can be shown that the unsolved problem of finding a composite solution n of the congruence n-1 = 1 mod phi(n) is equivalent to finding a square-free composite number n such a(n) = 1.

LINKS

C. Rivera, Puzzle 248, The Prime Puzzles and Problems Connection

EXAMPLE

Let n = 10; then Product_{p is a prime factor of 10} p = 2 x 5 = 10, Product_{p is a prime factor of 10} p-1 = (2-1) x (5-1) = 10.

MATHEMATICA

p[n_] := Transpose[FactorInteger[n]][[1]]; t = Table[p[i], {i, 2, 100}]; r = {}; s = {}; For[i = 1, i <= 99, i++, r = Append[r, Product[t[[i]][[j]], {j, 1, Length[t[[i]]]}]]; s = Append[s, Product[t[[i]][[j]] - 1, {j, 1, Length[t[[i]]]}]]]; Mod[r, s]

CROSSREFS

Sequence in context: A129620 A074766 A138107 this_sequence A129558 A131185 A052249

Adjacent sequences: A089628 A089629 A089630 this_sequence A089632 A089633 A089634

KEYWORD

nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Jan 04 2004

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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research