cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A069554 Smallest k > 0 with gcd(k, rev(k)) = n, where rev(k) is digit reversal of k, or 0 if no such k exists.

This page as a plain text file.
%I A069554 #15 Oct 16 2019 01:30:57
%S A069554 1,2,3,4,5,6,7,8,9,0,11,48,1495,2072,510,2192,1156,234,2489,0,168,22,
%T A069554 3358,840,5200,2678,2889,4256,5017,0,1178,21920,33,20774,5075,216,
%U A069554 1009009009009,2318,1677,0,1066,2436,15523,44,540,20516,30644,8400,18718,0,1479,21788
%N A069554 Smallest k > 0 with gcd(k, rev(k)) = n, where rev(k) is digit reversal of k, or 0 if no such k exists.
%e A069554 a(12) = 48 as gcd(48,84) = 12.
%o A069554 (PARI) a(n) = {if (n % 10 == 0, return (0)); k = 1; while (gcd(k, subst(Polrev(digits(k)), x, 10)) != n, k++); k;} \\ _Michel Marcus_, Sep 14 2013
%K A069554 nonn,base
%O A069554 1,2
%A A069554 _Amarnath Murthy_, Mar 22 2002
%E A069554 Edited by _David W. Wilson_ and _Don Reble_, Jun 04 2002