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!)
A256812 Smallest k>=1 such that n^6 + (n+1)^6 + ... + (n+k)^6 is prime or a(n)=0 if there is no such k. 1

%I #8 Apr 14 2015 10:29:41

%S 0,2,0,2,0,0,0,0,5,0,0,6,20,0,0,5,20,0,20,0,5,13,5,5,0,0,0,0,5,0,0,0,

%T 0,2,0,0,0,0,0,0,0,6,20,0,41,2,0,5,13,0,0,0,0,6,0,0,0,5,0,0,0,0,0,0,0,

%U 0,5,0,20,0,20,41,0,0,0,5,0,0,0,41,0,13,20

%N Smallest k>=1 such that n^6 + (n+1)^6 + ... + (n+k)^6 is prime or a(n)=0 if there is no such k.

%C Using similar arguments as in comment in A256547, we obtain that every term is 0,2,5,6,13,20,41.

%H Peter J. C. Moses, <a href="/A256812/b256812.txt">Table of n, a(n) for n = 1..1000</a>

%Y Cf. A001014, A089306, A256385, A256503, A256546, A256547, A256581.

%K nonn

%O 1,2

%A _Vladimir Shevelev_ and _Peter J. C. Moses_, Apr 10 2015

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 August 11 09:55 EDT 2024. Contains 375059 sequences. (Running on oeis4.)