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.

A382118 Prime indices k such that prime(k) and prime(k) + 9 are anagrams.

This page as a plain text file.
%I A382118 #14 Apr 22 2025 08:01:50
%S A382118 19,73,79,163,197,241,269,281,431,439,619,647,691,739,751,761,823,877,
%T A382118 953,1019,1051,1109,1223,1259,1291,1307,1423,1471,1723,1741,1747,1847,
%U A382118 1949,1979,2213,2371,2473,2503,2647,2789,2803,2819,2879,2903,2909,3019,3163,3361
%N A382118 Prime indices k such that prime(k) and prime(k) + 9 are anagrams.
%C A382118 Primes in A379208.
%H A382118 Vincenzo Librandi, <a href="/A382118/b382118.txt">Table of n, a(n) for n = 1..19861</a>
%e A382118 The prime 19 is a term of the sequence because prime(19)= 67 and 67 + 9 = 76 are anagrams.
%t A382118 Select[Prime[Range[500]],Sort[IntegerDigits[Prime[#]]]==Sort[IntegerDigits[Prime[#]+9]]&]
%o A382118 (Magma) [n: n in [0..10000] | IsPrime(n) and Sort(Intseq(NthPrime(n))) eq Sort(Intseq(NthPrime(n) + 9))];
%Y A382118 Cf. A140353, A228157, A379208.
%K A382118 nonn,base
%O A382118 1,1
%A A382118 _Vincenzo Librandi_, Apr 15 2025