Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A089588
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A089588 a(n)=A089588(2^n+1) for n>=0. +0
2
1, 2, 2, 7, 2, 9, 38, 79, 2, 220, 821, 1780, 2168 (list; graph; listen)
OFFSET

0,2

COMMENT

A089588(n) is the smallest integer k, 0<k<n, that most often satisfies the condition: k^m > k^(m+1) (modulo n) as m varies from 1 to n-1, for n>2, with a(1)=0 and a(2)=1. It is conjectured that A089588(n)=2 only when n is a Fermat number 2^(2^j)+1 for j>=0.

FORMULA

a(2^k+1) = 2 for k>=0 (conjecture).

PROGRAM

(PARI) {a(n)=local(A); n>=0; M=0; A=1; for(k=1, 2^n, S=sum(j=1, 2^n, if(k^j%(2^n+1)>k^(j+1)%(2^n+1), 1, 0)); if(S>M, M=S; A=k)); A}

CROSSREFS

Cf. A089587, A000215.

Sequence in context: A138115 A021444 A029632 this_sequence A014840 A077218 A102780

Adjacent sequences: A089585 A089586 A089587 this_sequence A089589 A089590 A089591

KEYWORD

more,nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Nov 09 2003

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 7 23:50 EST 2009. Contains 170430 sequences.


AT&T Labs Research