login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A252629 a(n) = A064735(n) - A000040(n). 2

%I #6 Dec 19 2014 15:03:44

%S 21,10,48,10,102,100,156,172,200,200,100,100,200,388,300,300,300,400,

%T 100,200,100,100,200,300,100,912,928,5000,982,2000,1150,1188,1236,

%U 1260,1344,1000,1414,1000,3000,1560,2000,1000,1722,1000,1776,1794,1900,1000,2046,1000,2100,2000

%N a(n) = A064735(n) - A000040(n).

%H Zak Seidov, <a href="/A252629/b252629.txt">Table of n, a(n) for n = 1..2000</a>

%t p = 1; s = {}; m = 100; Do[p = NextPrime[p]; idp = IntegerDigits[p]; le = Length[idp]; q = p; Label[1]; q = NextPrime[q]; par = Partition[IntegerDigits[q], le, 1]; If[MemberQ[par, idp], AppendTo[s, q - p]; Goto[2], Goto[1]]; Label[2], {m}];s(*for first m terms*)

%Y Cf. A000040, A064735.

%K nonn

%O 1,1

%A _Zak Seidov_, Dec 19 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)