login
a(n) = (A108559(n)+prime(A108559(n)))/11.
2

%I #7 Apr 30 2021 08:14:07

%S 1,13,17,20,22,29,31,40,47,50,54,76,77,81,97,116,124,125,130,158,163,

%T 168,195,209,224,232,245,253,261,265,278,280,292,296,312,313,321,333,

%U 342,367,381,383,407,424,427,473,480,487,495,514,527,539,546,548,549

%N a(n) = (A108559(n)+prime(A108559(n)))/11.

%H Michael S. Branicky, <a href="/A108560/b108560.txt">Table of n, a(n) for n = 1..10000</a>

%o (Python)

%o from sympy import nextprime

%o def aupton(terms):

%o p, p_idx, alst = 1, 0, []

%o while len(alst) < terms:

%o p, p_idx = nextprime(p), p_idx+1

%o if (p_idx + p)%11 == 0: alst.append((p_idx + p)//11)

%o return alst

%o print(aupton(55)) # _Michael S. Branicky_, Apr 30 2021

%Y Cf. A108559.

%K easy,nonn

%O 1,2

%A _Zak Seidov_, Jun 10 2005