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!)
A330424 a(1) = 1, a(2) = 2; thereafter a(n) = smallest number not occurring earlier such that both the sum of three successive terms and the sum of three successive digits are prime numbers. 2

%I #11 Jan 13 2020 09:36:12

%S 1,2,4,5,8,6,3,20,14,25,44,34,49,68,32,27,24,10,67,60,12,29,26,52,

%T 41065,62,50,61,40,30,43,64,72,21,46,16,41,22,38,23,28,122,7,82,18,81,

%U 2012,218,21021,84,58,69,2002,90,201,106,76,47,88,128,1223,2038

%N a(1) = 1, a(2) = 2; thereafter a(n) = smallest number not occurring earlier such that both the sum of three successive terms and the sum of three successive digits are prime numbers.

%H Lars Blomberg, <a href="/A330424/b330424.txt">Table of n, a(n) for n = 1..10000</a>

%e After 8 and 6 the next term is 3 as 8+6+3 = 17 is a prime;

%e after 6 and 3 the next term is 20 as 6+3+20 = 29 and 6+3+2=11 are both primes;

%e after 3 and 20 the next term is 14 as 3+20+14 = 37 and 3+2+0=5 are both primes;

%e etc.

%Y Cf. A076990 (only the sum of three successive terms is prime).

%K base,nonn

%O 1,2

%A _Eric Angelini_ and _Lars Blomberg_, Dec 14 2019

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 2 05:59 EDT 2024. Contains 374821 sequences. (Running on oeis4.)