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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064219 a(1) = 1; a(n) > 0; for each k from 1 to n, k divides a(n) or a(n)+1 and a(n) is the least such integer. 0
1, 1, 2, 3, 15, 24, 35, 119, 504, 720, 2519, 2519, 41040, 83160, 83160, 196559, 524160, 524160, 3160079, 3160079, 3160079, 3160079, 68468400, 68468400, 68468400, 68468400, 4724319600, 4724319600, 26702675999, 26702675999 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

EXAMPLE

a(5)=15 because (2 divides a(5)+1) and (3 divides a(5)) and (4 divides a(5)+1) and (5 divides a(5)).

PROG

(PARI) { a=1; for (n=1, 100, if (a%n && (a+1)%n, until (b, b=1; a++; for (k=1, n, if (a%k && (a+1)%k, b=0; break)))); write("b064219.txt", n, " ", a) ) } \\ Harry J. Smith, Sep 10 2009

CROSSREFS

Sequence in context: A048613 A162890 A030072 * A244377 A244330 A060753

Adjacent sequences:  A064216 A064217 A064218 * A064220 A064221 A064222

KEYWORD

easy,nonn

AUTHOR

Don Reble, Sep 21 2001

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 14 10:04 EST 2019. Contains 329111 sequences. (Running on oeis4.)