The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A090414 Triangular array read by rows, 1<=k<=n: T(n,k) = smallest prime that in binary representation is not contained in n^k. 2

%I #12 Mar 01 2020 07:17:26

%S 2,3,3,2,3,7,3,3,3,3,3,5,11,5,7,5,3,7,3,5,7,2,5,13,7,11,13,17,3,3,3,3,

%T 3,3,3,3,3,3,7,7,11,19,19,17,13,3,5,11,5,7,11,7,17,17,13,7,5,7,5,23,7,

%U 13,7,7,17,17,5,3,7,3,5,7,7,7,5,11,17,19

%N Triangular array read by rows, 1<=k<=n: T(n,k) = smallest prime that in binary representation is not contained in n^k.

%H Jinyuan Wang, <a href="/A090414/b090414.txt">Rows n = 1..100 of triangle, flattened</a>

%e Triangle begins:

%e 2;

%e 3, 3;

%e 2, 3, 7;

%e 3, 3, 3, 3;

%e 3, 5, 11, 5, 7;

%e 5, 3, 7, 3, 5, 7;

%e 2, 5, 13, 7, 11, 13, 17;

%e ..

%o (PARI) T(n,k) = {my(d=binary(n^k), v); forprime(p=2, oo, v=binary(p); if(#v>#d || sum(i=1, #d-#v+1, v==vector(#v, j, d[i+j-1]))==0, return(p))); } \\ _Jinyuan Wang_, Mar 01 2020

%Y Cf. A004676, A007088, A075363.

%K nonn,base,tabl

%O 1,1

%A _Reinhard Zumkeller_, Nov 30 2003

%E More terms from _Jinyuan Wang_, Mar 01 2020

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 May 21 05:34 EDT 2024. Contains 372728 sequences. (Running on oeis4.)