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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A039915 Smallest k such that k(p-1)-1 is positive and divisible by p where p = n-th prime. 4
3, 2, 4, 6, 10, 12, 16, 18, 22, 28, 30, 36, 40, 42, 46, 52, 58, 60, 66, 70, 72, 78, 82, 88, 96, 100, 102, 106, 108, 112, 126, 130, 136, 138, 148, 150, 156, 162, 166, 172, 178, 180, 190, 192, 196, 198, 210, 222, 226, 228, 232, 238, 240, 250, 256, 262, 268, 270 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Also smallest positive k such that the k-th triangular number is divisible by the n-th prime. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Apr 19 2002

LINKS

T. D. Noe, Table of n, a(n) for n=1..1000

FORMULA

a(n) = p+(-1)^p. - Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), May 26 2009

EXAMPLE

a(1)=3 because 3(2-1)-1=2 is divisible by 2.

CROSSREFS

Cf. A000217, A039678. Essentially the same as A006093.

Sequence in context: A019653 A095258 A114745 * A085346 A121861 A060006

Adjacent sequences:  A039912 A039913 A039914 * A039916 A039917 A039918

KEYWORD

nice,nonn

AUTHOR

Felice Russo (frusso(AT)micron.com)

EXTENSIONS

Edited and extended by Ray Chandler (rayjchandler(AT)sbcglobal.net), Jun 06 2008

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

Content is available under The OEIS End-User License Agreement .

Last modified February 15 23:53 EST 2012. Contains 205860 sequences.