login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A303092
Balanced primes of order one ending in 1.
3
211, 1511, 4691, 7841, 9871, 11411, 11731, 12841, 15161, 17431, 17851, 18341, 18731, 20161, 20201, 20521, 20731, 21661, 21911, 22051, 23801, 25391, 25621, 26041, 31051, 34171, 34631, 35851, 35911, 36821, 40111, 40471, 40961, 44041, 44741, 48661, 50441, 51461
OFFSET
1,1
EXAMPLE
211 = (188 + 211 + 213)/3 = 633/3 and 211 = 21*10 + 1.
MAPLE
p:=ithprime: a:=n->`if`(add(p(n-k), k=-1..1)=3*p(n) and modp(p(n), 10) = 1, p(n), NULL): seq(a(n), n=3..6000);
PROG
(GAP) P:=Filtered([1..52000], IsPrime);;
a:=Filtered(List(Filtered(List([0..Length(P)-3], k->List([1..3], j->P[j+k])), i->Sum(i)/3=i[2]), m->m[2]), l-> l mod 10=1);
CROSSREFS
Intersection of A006562 and A030430.
Sequence in context: A179595 A137872 A053072 * A361701 A086978 A108829
KEYWORD
nonn,base
AUTHOR
Muniru A Asiru, Apr 18 2018
STATUS
approved