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!)
A125570 Numbers n such that Sum_(x=1..n) (x-1)*6^(x-1)/6 is prime. 0

%I #18 Dec 29 2023 11:53:42

%S 3,7,8,19,69,77,104,107,162,163,399,4787,4818

%N Numbers n such that Sum_(x=1..n) (x-1)*6^(x-1)/6 is prime.

%C No more terms through 10^4.

%C Note that Sum(x=1,n,(x-1)*6^(x-1))/6 = (6^(n-1)*(5*n-6)+1)/25. Therefore this sequence consists of n such that (6^(n-1)*(5*n-6)+1)/25 is prime. - _Max Alekseyev_, Oct 18 2008

%t s = 0; Do[s += (x-1)*6^(x-1)/6; If[PrimeQ[s], Print[x]], {x, 10^4}]

%Y Cf. A119529.

%K hard,more,nonn

%O 1,1

%A _Ryan Propper_, Jan 01 2007

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 23 15:20 EDT 2024. Contains 371916 sequences. (Running on oeis4.)