Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A088997
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A088997 Base 10 numbers such that a(n) plus any positive palindrome less than a(n) does not yield a palindrome. +0
1
12, 23, 34, 45, 1011, 1020, 1021, 1029, 1031, 1038, 1041, 1047, 1051, 1061, 1065, 1071, 1074, 1081, 1091, 1092, 1101, 1112, 1121, 1130, 1131, 1132, 1139, 1141, 1142, 1148, 1151, 1152, 1157, 1161, 1162, 1171, 1172, 1175, 1181, 1182, 1191, 1192, 1201 (list; graph; listen)
OFFSET

1,1

COMMENT

This sequence can contain no palindromes since 0 is a palindrome and any palindrome plus 0 is also a palindrome.

EXAMPLE

a(2) = 23 because 23 plus any previous positive palindromic number (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22) does not yield a palindrome.

MAPLE

reverse := proc (d) local n, m; m := 0; n := d; while n>0 do m := m*10+(n mod 10); n := (n-(n mod 10))/10; od; m; end; isPalindromic := proc (n) if (n=reverse(n)) then true; else false; fi; end; n := 0; found := false; nosum := []; for c to 1400 do; while not(found) and n<c do; if isPalindromic(c+n) then found := true; else n := nextPal(n) fi; od; if not(found) then nosum := [op(nosum), c]; n := 0; else n := 0; found := false; fi; od; nosum;

CROSSREFS

Sequence in context: A001704 A127421 A112131 this_sequence A049852 A045532 A083683

Adjacent sequences: A088994 A088995 A088996 this_sequence A088998 A088999 A089000

KEYWORD

base,nonn

AUTHOR

Chuck Seggelin (barkeep(AT)plastereddragon.com), Dec 01 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research