[seqfan] Re: A173088 edited

Richard Mathar mathar at strw.leidenuniv.nl
Mon Mar 1 18:05:59 CET 2010

kb> Date: Mon, 01 Mar 2010 17:20:17 +0100
kb> From: Klaus Brockhaus <klaus-brockhaus at t-online.de>
kb> User-Agent: Thunderbird (Windows/20090812)
kb> To: Sequence Fanatics Discussion list <seqfan at list.seqfan.eu>
kb> Subject: [seqfan]  A173088 edited
kb> ...
kb> I tried to understand and edit A173088, but I get a sequence that has 
kb> very little in common with the original sequence. So maybe I made a 
kb> ..

What the author had probably in mind was "Numbers n such that n and n+5 are both
in A002822." The correct sequence starts


Maple variant:
isA002822 := proc(n)
	if isprime(6*n-1) and isprime(6*n+1) then
	end if;
end proc:
isA173088 := proc(n)
	isA002822(n) and isA002822(n+5) ;
end proc:
for n from 1 to 1700 do
	if isA173088(n) then
		printf("%d,",n) ;
	end if;
end do ;

More information about the SeqFan mailing list