OFFSET
0,2
COMMENTS
The size of terms of this sequence varies wildly. For example, a(453) has 755 digits, while a(456)=913. The only numbers n for which a(n)=0 up to n=500 are those for which 2*n+1 is divisible by 25. - Nathaniel Johnston, May 19 2011
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 0..500
EXAMPLE
a(7) = 135 = 3*(2*7 + 1) has increasing odd digits.
a(12) does not exist because a number in base 10 divisible by 25 ends with 00, 25, 50 or 75, so a(12)=0.
MAPLE
A062886 := proc(n) local d, j, k, p, val: p:=2*n+1: if(p mod 25 = 0)then return 0: fi: for j from 1 do for d from 1 to 9 by 2 do val:=0: for k from 1 to j do val:=val+10^(j-k)*((d+2*(k-1)) mod 10): od: if(val mod p = 0)then return val: fi: od: od: end: seq(A062886(n), n=0..30); # Nathaniel Johnston, May 19 2011
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amarnath Murthy, Jun 28 2001
EXTENSIONS
More terms from Sascha Kurz, Mar 23 2002
a(6) and example corrected by, and terms after a(15) from Nathaniel Johnston, May 19 2011
STATUS
approved