login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A205787 Least positive integer k such that n divides k^3-j^3 for some j in [1,k-1]. 1
2, 3, 4, 4, 6, 7, 2, 4, 4, 11, 12, 8, 3, 4, 16, 6, 18, 7, 3, 12, 4, 23, 24, 8, 10, 3, 6, 4, 30, 31, 5, 8, 34, 35, 9, 8, 4, 6, 5, 12, 42, 8, 6, 24, 16, 47, 48, 14, 5, 15, 52, 6, 54, 9, 56, 4, 7, 59, 60, 32, 5, 5, 4, 8, 14, 67, 7, 36, 70, 11, 72, 8, 8, 8, 20, 6, 15, 9, 7, 22, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

For a guide to related sequences, see A204892.

1 divides 2^3-1^3 -> k=2, j=1

2 divides 3^3-1^3 -> k=3, j=1

3 divides 4^3-1^3 -> k=4, j=3

4 divides 4^3-2^3 -> k=4, j=2

5 divides 6^3-1^3 -> k=6, j=1

LINKS

Table of n, a(n) for n=1..81.

EXAMPLE

s = Table[n^3, {n, 1, 120}] ;

lk = Table[

  NestWhile[# + 1 &, 1,

   Min[Table[Mod[s[[#]] - s[[j]], z], {j, 1, # - 1}]] =!= 0 &], {z, 1,

    Length[s]}]

Table[NestWhile[# + 1 &, 1,

  Mod[s[[lk[[j]]]] - s[[#]], j] =!= 0 &], {j, 1, Length[lk]}]

(* Peter J. C. Moses, Jan 27 2012 *)

MATHEMATICA

Cf. A204892.

CROSSREFS

Sequence in context: A179276 A213635 A218443 * A072455 A177862 A066981

Adjacent sequences:  A205784 A205785 A205786 * A205788 A205789 A205790

KEYWORD

nonn

AUTHOR

Clark Kimberling, Feb 01 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 23 18:36 EDT 2018. Contains 316529 sequences. (Running on oeis4.)