Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A135545
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A135545 a(n) = the largest proper divisor k of n where (k-1) and/or (k+1) divides (n+1). +0
1
1, 2, 1, 2, 1, 4, 3, 2, 1, 2, 1, 2, 5, 2, 1, 2, 1, 4, 3, 2, 1, 6, 1, 2, 3, 2, 1, 2, 1, 4, 3, 2, 7, 2, 1, 2, 3, 2, 1, 2, 1, 4, 3, 2, 1, 8, 1, 2, 3, 2, 1, 6, 5, 4, 3, 2, 1, 2, 1, 2, 9, 4, 5, 2, 1, 4, 3, 2, 1, 2, 1, 2, 5, 2, 7, 2, 1, 10, 3, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 4, 3, 2, 5, 2, 1, 2, 11, 2 (list; graph; listen)
OFFSET

3,2

LINKS

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

EXAMPLE

The proper divisors of 14 are 1,2,7. Now 2 is the largest of these divisors k where (k-1) and/or (k+1) divides 15 -- both (2-1) and (2+1) divide 15. So a(14) = 2.

MATHEMATICA

Table[Max[Join[{1}, Select[Complement[Divisors[n], {1, n}], Mod[n + 1, # + 1] == 0 || Mod[n + 1, # - 1] == 0 &]]], {n, 3, 100}] [From Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Aug 30 2008]

CROSSREFS

Sequence in context: A002331 A060805 A030767 this_sequence A123317 A164879 A009195

Adjacent sequences: A135542 A135543 A135544 this_sequence A135546 A135547 A135548

KEYWORD

nonn

AUTHOR

Leroy Quet, May 10 2008

EXTENSIONS

More terms from Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Aug 30 2008

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 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research