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!)
A101788 a(n) = n - A101787(n). 1

%I #5 May 23 2024 04:26:47

%S 0,1,1,2,3,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,17,18,19,20,21,22,23,

%T 24,25,26,27,28,28,29,30,31,32,33,34,35,36,37,38,39,39,40,41,41,42,43,

%U 44,45,46,47,48,49,50,51,52,52,53,54,54,55,56,57,58,59,60,61

%N a(n) = n - A101787(n).

%t With[{m = 100}, Range[m] - Accumulate[Table[Boole[And @@ PrimeQ[{4, 8}*i - 1]], {i, 1, m}]]] (* _Amiram Eldar_, May 23 2024 *)

%Y Cf. A002515, A101787.

%K easy,nonn

%O 1,4

%A Douglas Stones (dssto1(AT)student.monash.edu.au), Dec 16 2004

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 July 22 00:58 EDT 2024. Contains 374478 sequences. (Running on oeis4.)