login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A260820 Nonnegative integers n such that n^3-3 is divisible by n-3. 0
0, 1, 2, 4, 5, 6, 7, 9, 11, 15, 27 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Negative integers such that n^3-3 is divisible by n-3 are -1, -3, -5, -9 and -21.
REFERENCES
W. Sierpiński, 250 Problems in Elementary Number Theory. New York: American Elsevier, Warsaw, 1970, Problem 2 page 1.
LINKS
EXAMPLE
(7^3-3)/(7-3) = 85 so 7 is a term of this sequence.
(8^3-3)/(8-3) = 509/5 so 8 is not a term.
MATHEMATICA
Select[Delete[Range@ 120, 3], Mod[#^3 - 3, # - 3] == 0 &] (* Michael De Vlieger, Aug 04 2015 *)
PROG
(PARI) lista(nn) = for (n=0, nn, if ((n!=3) && (Mod(n, n-3)^3 == Mod(3, n-3)), print1(n, ", "))); \\ Michel Marcus, Aug 04 2015
CROSSREFS
Sequence in context: A126424 A164317 A138620 * A248554 A346993 A098166
KEYWORD
fini,full,nonn
AUTHOR
Marco Ripà, Jul 31 2015
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 16:45 EDT 2024. Contains 371989 sequences. (Running on oeis4.)