cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A115260 Prime numbers in the sequence of the absolute difference of the sum of digits in odd positions and the sum of digits in even positions of prime numbers.

This page as a plain text file.
%I A115260 #5 Mar 13 2015 00:18:21
%S A115260 2,3,5,7,2,7,2,3,3,2,5,2,5,2,2,3,5,7,3,3,2,2,3,3,7,5,2,3,7,2,2,5,2,5,
%T A115260 3,3,5,7,7,5,2,5,13,3,2,3,5,3,2,7,2,5,5,7,13,3,5,2,2,7,13,3,2,3,5,17,
%U A115260 7,13,5,3,7,17,13,7,3,7,7,2,3,5,5,2,2,7,3,3,7,2,3,7,2,3,7,2,5,5,3,2,7,3,5,7
%N A115260 Prime numbers in the sequence of the absolute difference of the sum of digits in odd positions and the sum of digits in even positions of prime numbers.
%C A115260 Primes in the sequence A115259.
%e A115260 a(37) = 3 because 37th prime = 157, (7+1) - 5 = 3, 3 is prime.
%p A115260 select(isprime,[seq(abs(sum(convert(ithprime(a),base,10)[2*i],i=1..nops(convert (ithprime(a),base,10))/2)-sum(convert(ithprime(a),base,10)[2*i+1],i=0..(nops (convert(ithprime(a),base,10))-1)/2)),a=1..N)]);
%Y A115260 Cf. A040997, A005017, A063792, A087593, A042939, A041000, A040164, A115259, A115261.
%K A115260 base,nonn
%O A115260 1,1
%A A115260 _Giorgio Balzarotti_, _Paolo P. Lava_, Jan 20 2006