login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A075804
Differences between adjacent palindromic nonsquarefree numbers A035132.
1
4, 1, 35, 44, 11, 22, 50, 41, 20, 10, 10, 20, 20, 41, 10, 20, 41, 10, 10, 20, 20, 20, 41, 50, 10, 31, 20, 20, 10, 10, 10, 10, 51, 61, 20, 20, 20, 20, 21, 90, 332, 550, 231, 220, 220, 110, 110, 220, 671, 110, 220, 11, 110, 110, 220, 110, 110, 220, 341, 220, 330, 341
OFFSET
1,1
EXAMPLE
a(1) = 8 - 4 = 4, a(2) = 9 - 8 = 1, a(3) = 44 - 9 = 35.
MAPLE
test := proc(n) local d; d := convert(n, base, 10); return ListTools[Reverse](d)=d and numtheory[mobius](n)=0; end; s := []; for n from 1 to 7000 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[#]&&!SquareFreeQ[#]&]] (* Harvey P. Dale, Dec 28 2024 *)
CROSSREFS
Sequence in context: A266240 A322601 A374258 * A059844 A277169 A144284
KEYWORD
nonn,base
AUTHOR
Jani Melik, Oct 13 2002
EXTENSIONS
Edited by Dean Hickerson, Oct 21 2002
STATUS
approved