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.

A158342 List of twin primes p1 and p2 with odd sum of digits of p1 and even sum of digits of p2.

This page as a plain text file.
%I A158342 #10 Jan 19 2025 12:09:36
%S A158342 29,31,179,181,269,271,809,811,1019,1021,1619,1621,1949,1951,2339,
%T A158342 2341,2999,3001,3329,3331,3389,3391,3929,3931,4049,4051,4229,4231,
%U A158342 4649,4651,5279,5281,5639,5641,5879,5881,6089,6091,6269,6271,6359,6361,6449,6451
%N A158342 List of twin primes p1 and p2 with odd sum of digits of p1 and even sum of digits of p2.
%H A158342 Harvey P. Dale, <a href="/A158342/b158342.txt">Table of n, a(n) for n = 1..3000</a>
%t A158342 Select[Partition[Prime[Range[1000]],2,1],#[[2]]-#[[1]]==2&&OddQ[Total[IntegerDigits[#[[1]]]]]&&EvenQ[Total[IntegerDigits[#[[2]]]]]&]//Flatten (* _Harvey P. Dale_, Jan 19 2025 *)
%Y A158342 Cf. A077800.
%K A158342 nonn,base,less
%O A158342 1,1
%A A158342 _Juri-Stepan Gerasimov_, Mar 16 2009
%E A158342 Corrected (269,271 inserted, 1229,1231 removed, 3119,3121 removed...) by _R. J. Mathar_, May 19 2010