A075805 Differences between adjacent palindromic numbers which are products of an even number of distinct primes.
5, 16, 11, 22, 22, 34, 30, 20, 41, 60, 41, 20, 70, 61, 51, 10, 20, 10, 20, 61, 81, 10, 20, 30, 51, 20, 20, 20, 20, 41, 10, 10, 20, 10, 122, 330, 220, 330, 11, 440, 561, 110, 110, 220, 440, 891, 231, 110, 1551, 451, 330, 550, 1122, 110, 220, 552, 100, 300, 400, 100
Offset: 1
Examples
a(1)=6-1=5, a(2)=22-6=16.
Links
- Paolo Xausa, Table of n, a(n) for n = 1..1000
Programs
-
Maple
test := proc(n) local d; d := convert(n,base,10); return ListTools[Reverse](d)=d and numtheory[mobius](n)=1; end; s := []; for n from 1 to 11000 do if test(n) then s := [op(s),n]; end; od; a := [op(2..-1,s)-op(1..-2,s)];
-
Mathematica
Differences[Select[Range[10000], PalindromeQ[#] && MoebiusMu[#] == 1 &]] (* Paolo Xausa, Mar 10 2025 *)
Extensions
Edited by Dean Hickerson, Oct 21 2002
Comments