Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A067131
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A067131 Number of elements in the largest set of divisors of n which are in arithmetic progression. +0
2
1, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 4, 2, 2, 3, 2, 2, 3, 2, 2, 2, 2, 2, 4, 2, 2, 2, 3, 2, 3, 2, 2, 2, 2, 2, 4, 2, 2, 2, 3, 2, 3, 2, 2, 3, 2, 2, 4, 2, 2, 2, 2, 2, 3, 2, 3, 2, 2, 2, 6, 2, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 4, 2, 2, 3, 2, 2, 3, 2, 3, 2, 2, 2, 4, 2, 2, 2, 2, 2, 3, 3, 2, 2, 2, 2, 4, 2, 2, 2, 2, 2, 3, 2 (list; graph; listen)
OFFSET

1,2

EXAMPLE

a(12) = 4 as the divisors of 12 are {1,2,3,4,6,12} and the maximal subset in arithmetic progression is {1,2,3,4}. a(15) = 3; the maximal set is {1,3,5}.

MATHEMATICA

lap[s_] := Module[{}, l=Length[s]; If[l<2, Return[l]]; val=2; For[i=1, i<l, i++, For[j=i+1, j<=l, j++, For[k=2, MemberQ[s, k*s[[j]]-(k-1)s[[i]]], k++, Null]; If[k>val, val=k]]]; val]; lap/@Divisors/@Range[1, 200]

CROSSREFS

Cf. A067132.

Sequence in context: A096859 A005086 A020649 this_sequence A094915 A081147 A083399

Adjacent sequences: A067128 A067129 A067130 this_sequence A067132 A067133 A067134

KEYWORD

easy,nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jan 09 2002

EXTENSIONS

Edited by Dean Hickerson (dean(AT)math.ucdavis.edu), Jan 15 2002

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 July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research