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.

A064844 Number of iterations of x -> x + A064834(x) to reach a palindrome, starting with n (or -1 if no palindrome is ever reached).

This page as a plain text file.
%I A064844 #1 May 16 2003 03:00:00
%S A064844 0,0,0,0,0,0,0,0,0,1,0,6,5,6,4,2,5,7,3,1,1,0,4,3,6,2,2,5,7,1,1,1,0,4,
%T A064844 3,6,2,2,5,1,1,1,1,0,4,3,2,2,2,1,1,1,1,1,0,4,3,2,2,1,1,1,1,1,1,0,3,2,
%U A064844 2,1,1,1,1,1,1,1,0,3,2,1,1,1,1,1,1,1,1,0,2,1,1,1,1,1,1,1,1,1,0,1
%N A064844 Number of iterations of x -> x + A064834(x) to reach a palindrome, starting with n (or -1 if no palindrome is ever reached).
%C A064844 Longest sequence for n<252784 is a(250584)=2311. Is a palindromic number always reached?
%e A064844 For n=16, A064834(16) = 5, so next number is 16+5 = 21. A064834(21)=1 so next number is 22. 22 is a palindrome which is reached after 2 iterations, so a(16)=2
%K A064844 base,nonn
%O A064844 1,12
%A A064844 Jonathan Ayres (jonathan.ayres(AT)btinternet.com), Oct 25 2001