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!)
A374451 Triangle T(n, k), n > 1, k = 1..n-1, read by rows; T(n, k) is the least prime number p such that the p-adic valuations of n and k differ. 1
2, 3, 2, 2, 2, 2, 5, 2, 3, 2, 2, 3, 2, 2, 2, 7, 2, 3, 2, 5, 2, 2, 2, 2, 2, 2, 2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 5, 2, 2, 2, 3, 2, 2, 2, 11, 2, 3, 2, 5, 2, 7, 2, 3, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 13, 2, 3, 2, 5, 2, 7, 2, 3, 2, 11, 2, 2, 7, 2, 2, 2, 3, 2, 2, 2, 5, 2, 2, 2 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
FORMULA
T(n, 1) = A020639(n).
T(n, n-1) = 2.
T(2^n, k) = 2.
T(p, k) = A020639(k) for any prime number p and k > 1.
EXAMPLE
Triangle T(n, k) begins:
n n-th row
-- -------------------------------
2 2
3 3, 2
4 2, 2, 2
5 5, 2, 3, 2
6 2, 3, 2, 2, 2
7 7, 2, 3, 2, 5, 2
8 2, 2, 2, 2, 2, 2, 2
9 3, 2, 3, 2, 3, 2, 3, 2
10 2, 5, 2, 2, 2, 3, 2, 2, 2
11 11, 2, 3, 2, 5, 2, 7, 2, 3, 2
12 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2
PROG
(PARI) T(n, k) = { forprime (p = 2, oo, my (d = valuation(n, p) - valuation(k, p)); if (d, return (p); ); ); }
CROSSREFS
Sequence in context: A208243 A209320 A097051 * A323761 A078832 A086410
KEYWORD
nonn,easy,tabl,new
AUTHOR
Rémy Sigrist, Jul 08 2024
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 July 26 09:19 EDT 2024. Contains 374628 sequences. (Running on oeis4.)