login
A075801
Differences between adjacent palindromic nonprime numbers A032350.
0
3, 2, 2, 1, 13, 11, 11, 11, 11, 11, 11, 11, 12, 10, 20, 20, 10, 31, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 20, 10, 10, 20, 30, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 10, 20, 10, 20, 10, 31
OFFSET
1,1
EXAMPLE
a(1)=4-1=3, a(5)=22-9=13.
MAPLE
test := proc(n) local d; d := convert(n, base, 10); return ListTools[Reverse](d)=d and not isprime(n); end; s := []; for n from 1 to 1000 do if test(n) then s := [op(s), n]; end; od; a := [op(2..-1, s)-op(1..-2, s)];
CROSSREFS
Sequence in context: A357104 A098054 A336987 * A243160 A272694 A292370
KEYWORD
nonn,base
AUTHOR
Jani Melik, Oct 13 2002
EXTENSIONS
Edited by Dean Hickerson, Oct 21 2002
STATUS
approved