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!)
A084747 Leading diagonal of triangle shown below in which the n-th row contains the n smallest numbers > 0 such that when they are incremented by n yield a prime. 1
1, 3, 8, 9, 14, 17, 24, 29, 32, 33, 42, 47, 54, 57, 58, 63, 72, 79, 84, 87, 88, 91, 108, 113, 114, 123, 124, 129, 138, 143, 150, 159, 160, 163, 164, 175, 190, 191, 194, 199, 210, 215, 226, 227, 232, 235, 246, 259, 262, 263, 266, 279, 294, 295, 298, 303, 310, 315 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

FORMULA

a(n) = prime(primepi(n) + n) - n. - Richard R. Forberg, Mar 22 2021

EXAMPLE

Triangle begins:

  1;

  1,  3;

  2,  4,  8;

  1,  3,  7,  9;

  2,  6,  8, 12, 14;

  1,  5,  7, 11, 13, 17;

  4,  6, 10, 12, 16, 22, 24;

  ...

so sequence is 1, 3, 8, 9, 14, 17, 24, ...

PROG

(PARI) a(n) = prime(primepi(n) + n) - n; \\ Michel Marcus, Mar 28 2021

CROSSREFS

For triangle see A084695.

Cf. A000040 (prime), A000720 (primepi).

Sequence in context: A239388 A259850 A071677 * A286177 A287579 A289142

Adjacent sequences:  A084744 A084745 A084746 * A084748 A084749 A084750

KEYWORD

easy,nonn

AUTHOR

Amarnath Murthy and Jason Earls, Jul 12 2003

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 January 27 22:40 EST 2022. Contains 350654 sequences. (Running on oeis4.)