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!)
A348835 Triangle, read by rows, T(n, k) is the smallest term of A006005 strictly larger than abs(A006005(n) - A006005(k)). 0
1, 3, 1, 5, 3, 1, 7, 5, 3, 1, 11, 11, 7, 5, 1, 13, 11, 11, 7, 3, 1, 17, 17, 13, 11, 7, 5, 1, 19, 17, 17, 13, 11, 7, 3, 1, 23, 23, 19, 17, 13, 11, 7, 5, 1, 29, 29, 29, 23, 19, 17, 13, 11, 7, 1, 31, 29, 29, 29, 23, 19, 17, 13, 11, 3, 1, 37, 37, 37, 31, 29, 29, 23, 19, 17, 11, 7, 1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
Raghavendra Bhat, An Abelian Loop for Non-Composites, arXiv:2110.14716 [math.GM], 2021.
FORMULA
T(n, n) = 1.
T(n, 1) = n.
EXAMPLE
Triangle begins:
1;
3, 1;
5, 3, 1;
7, 5, 3, 1;
11, 11, 7, 5, 1;
13, 11, 11, 7, 3, 1;
17, 17, 13, 11, 7, 5, 1;
...
PROG
(PARI) f(n) = prime(n)-(n==1); /* A006005 */
T(n, k) = {my(j=1, m = abs(f(n)-f(k))); while (f(j) < m, j++); f(j); }
CROSSREFS
Cf. A006005 (1 and the odd primes).
Sequence in context: A084305 A347066 A099375 * A130301 A133601 A258207
KEYWORD
nonn,tabl
AUTHOR
Michel Marcus, Nov 01 2021
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 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)